Class ExtendedLogRecord
java.lang.Object
java.util.logging.LogRecord
com.clumd.projects.java_common_utils.logging.common.ExtendedLogRecord
- All Implemented Interfaces:
Serializable
An extended
LogRecord which also supports the notion of 'tagging' log messages.
Tagging could be used to cross-reference which could be related, but come from totally distinct loggers. For EXAMPLE, tagging with 'Security', but for messages coming from some User Input validation, vs some Socket level communication, which could then be pulled out or used as an Index in some log aggregation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedLogRecord(Level level, String msg) ExtendedLogRecord(Level level, String msg, @NonNull String tag) ExtendedLogRecord(Level level, String msg, @NonNull Set<String> tags) -
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
-
ExtendedLogRecord
-
ExtendedLogRecord
-
ExtendedLogRecord
-
-
Method Details
-
getTags
-