Class GFLogRecord

  • All Implemented Interfaces:
    Serializable

    public class GFLogRecord
    extends LogRecord
    This class provides additional attributes not supported by JUL LogRecord
    Author:
    rinamdar
    See Also:
    Serialized Form
    • Field Detail

      • fastLogging

        public static Boolean fastLogging
    • Constructor Detail

      • GFLogRecord

        public GFLogRecord​(Level level,
                           String msg)
      • GFLogRecord

        public GFLogRecord​(LogRecord record)
    • Method Detail

      • getThreadName

        public String getThreadName()
      • setThreadName

        public void setThreadName​(String threadName)
      • wrap

        public static GFLogRecord wrap​(LogRecord record,
                                       boolean setThreadName)
        wrap log record with GFLogRecord if not already if setThreadName is true, sets thread name to current
        Parameters:
        record -
        setThreadName -
        Returns:
        wrapped record