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 net.thevpc.nuts.NutsSession |
resolveSession(LogRecord record,
net.thevpc.nuts.NutsSession defSession) |
static net.thevpc.nuts.NutsSession |
resolveSession(LogRecord record,
net.thevpc.nuts.NutsWorkspace ws) |
static String |
stacktrace(Throwable th) |
static NutsLogRecord |
toNutsLogRecord(LogRecord record,
net.thevpc.nuts.NutsSession session) |
public static final String LINE_SEPARATOR
public static NutsLogRecord toNutsLogRecord(LogRecord record, net.thevpc.nuts.NutsSession session)
public static void ensureSize(StringBuilder sb, int size)
public static final net.thevpc.nuts.NutsSession resolveSession(LogRecord record, net.thevpc.nuts.NutsWorkspace ws)
public static final net.thevpc.nuts.NutsSession resolveSession(LogRecord record, net.thevpc.nuts.NutsSession defSession)
Copyright © 2021 vpc open source initiative. All rights reserved.