Class LogSink.Null

    • Constructor Detail

      • Null

        public Null()
    • Method Detail

      • shutdown

        public void shutdown()
        Description copied from interface: LogSink
        Shutdown cleanly, flushing all current elements.
        Specified by:
        shutdown in interface LogSink
      • terminate

        public void terminate()
        Description copied from interface: LogSink
        Shutdown aggressively, without trying to flush.
        Specified by:
        terminate in interface LogSink
      • addInterceptor

        public void addInterceptor​(LogSink.Interceptor interceptor)
        Description copied from interface: LogSink
        You can add as many interceptors to a log sink as you like.
        Specified by:
        addInterceptor in interface LogSink