class WrappedExtLogRecord extends ExtLogRecord
ExtLogRecord.FormatStyle| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
LOGGER_CLASS_NAME |
private java.util.logging.LogRecord |
orig |
private boolean |
resolved |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
WrappedExtLogRecord(java.util.logging.LogRecord orig) |
| Modifier and Type | Method and Description |
|---|---|
java.util.logging.Level |
getLevel() |
java.lang.String |
getLoggerName() |
java.lang.String |
getMessage() |
long |
getMillis() |
java.lang.Object[] |
getParameters() |
java.util.ResourceBundle |
getResourceBundle() |
java.lang.String |
getResourceBundleName() |
long |
getSequenceNumber() |
java.lang.String |
getSourceClassName() |
java.lang.String |
getSourceFileName()
Get the source file name for this log record.
|
int |
getSourceLineNumber()
Get the source line number for this log record.
|
java.lang.String |
getSourceMethodName() |
int |
getThreadID() |
java.lang.Throwable |
getThrown() |
private void |
resolve() |
void |
setLevel(java.util.logging.Level level) |
void |
setLoggerName(java.lang.String name) |
void |
setMessage(java.lang.String message)
Set the raw message.
|
void |
setMillis(long millis) |
void |
setParameters(java.lang.Object[] parameters)
Set the parameters to the log message.
|
void |
setResourceBundle(java.util.ResourceBundle bundle)
Set the localization resource bundle.
|
void |
setResourceBundleName(java.lang.String name)
Set the localization resource bundle name.
|
void |
setSequenceNumber(long seq) |
void |
setSourceClassName(java.lang.String sourceClassName) |
void |
setSourceFileName(java.lang.String sourceFileName)
Set the source file name for this log record.
|
void |
setSourceLineNumber(int sourceLineNumber)
Set the source line number for this log record.
|
void |
setSourceMethodName(java.lang.String sourceMethodName) |
void |
setThreadID(int threadID) |
void |
setThrown(java.lang.Throwable thrown) |
protected java.lang.Object |
writeReplace() |
copyAll, copyMdc, disableCallerCalculation, getFormatStyle, getFormattedMessage, getLoggerClassName, getMdc, getMdcCopy, getNdc, getResourceKey, getThreadName, putMdc, removeMdc, setMdc, setMessage, setNdc, setThreadName, wrapprivate static final long serialVersionUID
private static final java.lang.String LOGGER_CLASS_NAME
private final transient java.util.logging.LogRecord orig
private transient boolean resolved
public java.lang.String getLoggerName()
getLoggerName in class java.util.logging.LogRecordpublic void setLoggerName(java.lang.String name)
setLoggerName in class java.util.logging.LogRecordpublic java.util.ResourceBundle getResourceBundle()
getResourceBundle in class java.util.logging.LogRecordpublic void setResourceBundle(java.util.ResourceBundle bundle)
ExtLogRecordsetResourceBundle in class ExtLogRecordbundle - localization bundle (may be null)public java.lang.String getResourceBundleName()
getResourceBundleName in class java.util.logging.LogRecordpublic void setResourceBundleName(java.lang.String name)
ExtLogRecordsetResourceBundleName in class ExtLogRecordname - localization bundle name (may be null)public java.util.logging.Level getLevel()
getLevel in class java.util.logging.LogRecordpublic void setLevel(java.util.logging.Level level)
setLevel in class java.util.logging.LogRecordpublic long getSequenceNumber()
getSequenceNumber in class java.util.logging.LogRecordpublic void setSequenceNumber(long seq)
setSequenceNumber in class java.util.logging.LogRecordpublic java.lang.String getSourceClassName()
ExtLogRecordgetSourceClassName in class ExtLogRecordpublic void setSourceClassName(java.lang.String sourceClassName)
ExtLogRecordsetSourceClassName in class ExtLogRecordpublic java.lang.String getSourceMethodName()
ExtLogRecordgetSourceMethodName in class ExtLogRecordpublic void setSourceMethodName(java.lang.String sourceMethodName)
ExtLogRecordsetSourceMethodName in class ExtLogRecordprivate void resolve()
public int getSourceLineNumber()
ExtLogRecordgetSourceLineNumber in class ExtLogRecordpublic void setSourceLineNumber(int sourceLineNumber)
ExtLogRecordsetSourceLineNumber in class ExtLogRecordsourceLineNumber - the source line numberpublic java.lang.String getSourceFileName()
ExtLogRecordnull if no information could be obtained.getSourceFileName in class ExtLogRecordpublic void setSourceFileName(java.lang.String sourceFileName)
ExtLogRecordsetSourceFileName in class ExtLogRecordsourceFileName - the source file namepublic java.lang.String getMessage()
getMessage in class java.util.logging.LogRecordpublic void setMessage(java.lang.String message)
ExtLogRecordMessageFormat-style.setMessage in class ExtLogRecordmessage - the new raw messagepublic java.lang.Object[] getParameters()
getParameters in class java.util.logging.LogRecordpublic void setParameters(java.lang.Object[] parameters)
ExtLogRecordsetParameters in class ExtLogRecordparameters - the log message parameters. (may be null)public int getThreadID()
getThreadID in class java.util.logging.LogRecordpublic void setThreadID(int threadID)
setThreadID in class java.util.logging.LogRecordpublic long getMillis()
getMillis in class java.util.logging.LogRecordpublic void setMillis(long millis)
setMillis in class java.util.logging.LogRecordpublic java.lang.Throwable getThrown()
getThrown in class java.util.logging.LogRecordpublic void setThrown(java.lang.Throwable thrown)
setThrown in class java.util.logging.LogRecordprotected java.lang.Object writeReplace()