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

        @Deprecated(forRemoval=true,
                    since="6.21.0")
        public static Boolean fastLogging
        Deprecated, for removal: This API element is subject to removal in a future version.
        The deprecated fastLogging attribute DO NOT USE! Retained for semantic versioning. Replaced by fastLoggingAtomic.
      • fastLoggingAtomic

        public static final AtomicBoolean fastLoggingAtomic
    • 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