Class WrappedLogRecord

java.lang.Object
java.util.logging.LogRecord
org.rspeer.commons.logging.WrappedLogRecord
All Implemented Interfaces:
Serializable

public class WrappedLogRecord extends LogRecord
See Also:
  • Constructor Details

    • WrappedLogRecord

      public WrappedLogRecord(Level level, String msg)
      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 value
      msg - the raw non-localized logging message (may be null)
      See Also:
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getColor

      public Color getColor()
    • setColor

      public void setColor(Color color)