Class ExtendedLogRecord

java.lang.Object
java.util.logging.LogRecord
com.clumd.projects.java_common_utils.logging.common.ExtendedLogRecord
All Implemented Interfaces:
Serializable

public class ExtendedLogRecord extends LogRecord
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 Details

    • ExtendedLogRecord

      public ExtendedLogRecord(Level level, String msg)
    • ExtendedLogRecord

      public ExtendedLogRecord(Level level, String msg, @NonNull @NonNull Set<String> tags)
    • ExtendedLogRecord

      public ExtendedLogRecord(Level level, String msg, @NonNull @NonNull String tag)
  • Method Details