public final class NkTraceIndent extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MDC_INDENT_KEY |
static int |
SPACES_PER_INDENT
3 is a prefix length of ">> " and "<< ".
|
| Modifier and Type | Method and Description |
|---|---|
static void |
decrement() |
static String |
getCurrentIndent() |
static String |
getIndent(int indentCount) |
static int |
getIndentCount() |
static void |
increment() |
static void |
reset()
Resets indentation value back to 0.
|
public static final String MDC_INDENT_KEY
public static final int SPACES_PER_INDENT
public static void reset()
public static void increment()
public static void decrement()
public static int getIndentCount()
public static String getIndent(int indentCount)
public static String getCurrentIndent()
Copyright © 2020 net.kawinski. All rights reserved.