Package io.deephaven.io.logger
Class LogBufferInterceptor
java.lang.Object
io.deephaven.io.logger.LogBuffer
io.deephaven.io.logger.LogBufferInterceptor
- All Implemented Interfaces:
LogSink.Interceptor<LogEntry>
,LogBufferRecordListener
-
Field Summary
Fields inherited from class io.deephaven.io.logger.LogBuffer
DEFAULT_HISTORY_SIZE, history
-
Constructor Summary
-
Method Summary
Methods inherited from class io.deephaven.io.logger.LogBuffer
capacity, clear, record, recordInternal, subscribe, subscriberCount, unsubscribe
-
Field Details
-
RECORD_INITIAL_DATA_SIZE
public static final int RECORD_INITIAL_DATA_SIZE- See Also:
-
-
Constructor Details
-
LogBufferInterceptor
public LogBufferInterceptor(int historySize) -
LogBufferInterceptor
public LogBufferInterceptor()
-
-
Method Details
-
element
public void element(@NotNull @NotNull LogEntry e, @NotNull @NotNull LogOutput output) throws IOException - Specified by:
element
in interfaceLogSink.Interceptor<LogEntry>
- Throws:
IOException
-