Package io.deephaven.io.log
Class LogSink.Null
java.lang.Object
io.deephaven.io.log.LogSink.Null
- All Implemented Interfaces:
LogSink
- Enclosing interface:
- LogSink<T extends LogSink.Element>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.io.log.LogSink
LogSink.Element, LogSink.Factory<T extends LogSink.Element>, LogSink.Interceptor<T extends LogSink.Element>, LogSink.LogSinkWriter<S extends LogSink<? extends LogSink.Element>>, LogSink.Null, LogSink.Shutdown -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptor(LogSink.Interceptor interceptor) You can add as many interceptors to a log sink as you like.voidshutdown()Shutdown cleanly, flushing all current elements.voidShutdown aggressively, without trying to flush.voidWrite an element.
-
Constructor Details
-
Null
public Null()
-
-
Method Details
-
write
Description copied from interface:LogSinkWrite an element. -
shutdown
public void shutdown()Description copied from interface:LogSinkShutdown cleanly, flushing all current elements. -
terminate
public void terminate()Description copied from interface:LogSinkShutdown aggressively, without trying to flush. -
addInterceptor
Description copied from interface:LogSinkYou can add as many interceptors to a log sink as you like.- Specified by:
addInterceptorin interfaceLogSink
-