public final class LegacyLogEntry extends LogEntry
Constructor | Description |
---|---|
LegacyLogEntry(Date date,
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 LegacyLogEntry(Date date, String processId, Thread thread, Map<String,String> context, String className, String methodName, String filename, int lineNumber, Level level, String message, Throwable exception)
date
- The current date with milliseconds precisionprocessId
- 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.