public class GFLogRecord extends LogRecord
Constructor and Description |
---|
GFLogRecord(Level level,
String msg) |
GFLogRecord(LogRecord record) |
Modifier and Type | Method and Description |
---|---|
String |
getThreadName() |
void |
setThreadName(String threadName) |
static GFLogRecord |
wrap(LogRecord record,
boolean setThreadName)
wrap log record with
GFLogRecord if not already
if setThreadName is true, sets thread name to current |
getLevel, getLoggerName, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setLevel, setLoggerName, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID, setThrown
public GFLogRecord(LogRecord record)
public String getThreadName()
public void setThreadName(String threadName)
public static GFLogRecord wrap(LogRecord record, boolean setThreadName)
GFLogRecord
if not already
if setThreadName is true, sets thread name to currentrecord
- setThreadName
- Copyright © 2021. All rights reserved.