public class NutsLogUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LINE_SEPARATOR |
| Constructor and Description |
|---|
NutsLogUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureSize(StringBuilder sb,
int size) |
static String |
formatClassName(String className) |
static String |
logLevel(Level l) |
static String |
logVerb(String l) |
static NutsSession |
resolveSession(LogRecord record,
NutsSession defSession) |
static NutsSession |
resolveSession(LogRecord record,
NutsWorkspace ws) |
static String |
stacktrace(Throwable th) |
static NutsLogRecord |
toNutsLogRecord(LogRecord record,
NutsSession session) |
public static final String LINE_SEPARATOR
public static NutsLogRecord toNutsLogRecord(LogRecord record, NutsSession session)
public static void ensureSize(StringBuilder sb, int size)
public static final NutsSession resolveSession(LogRecord record, NutsWorkspace ws)
public static final NutsSession resolveSession(LogRecord record, NutsSession defSession)
Copyright © 2021 vpc open source initiative. All rights reserved.