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 String[] |
stacktraceToArray(Throwable th) |
static NutsLogRecord |
toNutsLogRecord(LogRecord record,
net.thevpc.nuts.NutsSession session) |
static void |
traceMessage(net.thevpc.nuts.NutsLogger log,
Level lvl,
String name,
net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsLogVerb tracePhase,
String title,
long startTime,
net.thevpc.nuts.NutsMessage extraMsg) |
static void |
traceMessage(net.thevpc.nuts.NutsLogger log,
net.thevpc.nuts.NutsFetchStrategy fetchMode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsLogVerb tracePhase,
String message,
long startTime) |
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)
public static void traceMessage(net.thevpc.nuts.NutsLogger log,
Level lvl,
String name,
net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsFetchMode fetchMode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsLogVerb tracePhase,
String title,
long startTime,
net.thevpc.nuts.NutsMessage extraMsg)
public static void traceMessage(net.thevpc.nuts.NutsLogger log,
net.thevpc.nuts.NutsFetchStrategy fetchMode,
net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsLogVerb tracePhase,
String message,
long startTime)
Copyright © 2022 vpc open source initiative. All rights reserved.