Package io.sentry.logger
Class NoOpLoggerBatchProcessor
java.lang.Object
io.sentry.logger.NoOpLoggerBatchProcessor
- All Implemented Interfaces:
ILoggerBatchProcessor
@Experimental
public final class NoOpLoggerBatchProcessor
extends Object
implements ILoggerBatchProcessor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(@NotNull SentryLogEvent event) void
close
(boolean isRestarting) void
flush
(long timeoutMillis) Flushes log events.static NoOpLoggerBatchProcessor
-
Method Details
-
getInstance
-
add
- Specified by:
add
in interfaceILoggerBatchProcessor
-
close
public void close(boolean isRestarting) - Specified by:
close
in interfaceILoggerBatchProcessor
-
flush
public void flush(long timeoutMillis) Description copied from interface:ILoggerBatchProcessor
Flushes log events.- Specified by:
flush
in interfaceILoggerBatchProcessor
- Parameters:
timeoutMillis
- time in milliseconds
-