Package org.rspeer.commons.logging
Class WrappedLogRecord
java.lang.Object
java.util.logging.LogRecord
org.rspeer.commons.logging.WrappedLogRecord
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionWrappedLogRecord
(Level level, String msg) Construct a LogRecord with the given level and message values. -
Method Summary
Methods inherited from class java.util.logging.LogRecord
getInstant, getLevel, getLoggerName, getLongThreadID, getMessage, getMillis, getParameters, getResourceBundle, getResourceBundleName, getSequenceNumber, getSourceClassName, getSourceMethodName, getThreadID, getThrown, setInstant, setLevel, setLoggerName, setLongThreadID, setMessage, setMillis, setParameters, setResourceBundle, setResourceBundleName, setSequenceNumber, setSourceClassName, setSourceMethodName, setThreadID, setThrown
-
Constructor Details
-
WrappedLogRecord
Construct a LogRecord with the given level and message values.The sequence property will be initialized with a new unique value. These sequence values are allocated in increasing order within a VM.
Since JDK 9, the event time is represented by an
Instant
. The instant property will be initialized to the current instant, using the best available clock on the system.The thread ID property will be initialized with a unique ID for the current thread.
All other properties will be initialized to "null".
- Parameters:
level
- a logging level valuemsg
- the raw non-localized logging message (may be null)- See Also:
-
-
Method Details