indentLevel property
Current indentation depth. Each level is two spaces.
Static because a fresh logger is constructed per call site; the depth belongs to the run, not to any single instance.
Implementation
static int indentLevel = 0;
Current indentation depth. Each level is two spaces.
Static because a fresh logger is constructed per call site; the depth belongs to the run, not to any single instance.
static int indentLevel = 0;