public final class UndatedLogEntry extends LogEntry
Constructor | Description |
---|---|
UndatedLogEntry(String processId,
Thread thread,
Map<String,String> context,
String className,
String methodName,
String filename,
int lineNumber,
Level level,
String message,
Throwable exception) |
Modifier and Type | Method | Description |
---|---|---|
Date |
getDate() |
Get the current date.
|
Timestamp |
getTimestamp() |
Get the current date as SQL timestamp.
|
getClassName, getContext, getException, getFilename, getLevel, getLineNumber, getMessage, getMethodName, getProcessId, getRenderedLogEntry, getThread
public UndatedLogEntry(String processId, Thread thread, Map<String,String> context, String className, String methodName, String filename, int lineNumber, Level level, String message, Throwable exception)
processId
- The ID of the process (pid)thread
- The current threadcontext
- Thread-based mapped diagnostic contextclassName
- The fully qualified class namemethodName
- The method namefilename
- The source filenamelineNumber
- The line numberlevel
- The severity levelmessage
- The message of the logging eventexception
- The exception of the log entryCopyright © 2019. All rights reserved.