Class WrappedLogRecord

    • Constructor Detail

      • 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:
        Clock.systemUTC()
    • Method Detail

      • getColor

        public Color getColor()
      • setColor

        public void setColor​(Color color)