Interface Log.LogAutoClose

  • All Superinterfaces:
    java.lang.AutoCloseable
    Enclosing class:
    Log

    public static interface Log.LogAutoClose
    extends java.lang.AutoCloseable
    An AutoCloseable interface for managing logging contexts.
    • Field Detail

      • EMPTY

        static final Log.LogAutoClose EMPTY
        An empty AutoCloseable that does nothing.
    • Method Detail

      • close

        void close()
        Closes the context.
        Specified by:
        close in interface java.lang.AutoCloseable