Here you can find the source of indent()
public static String indent()
//package com.java2s; //License from project: Open Source License public class Main { public static int loggingIndentation = 0; public static String indent() { String partial = ""; for (int i = 0; i < loggingIndentation; i++) partial = partial + " "; return partial; }/*from w w w. j a v a2 s.c om*/ }