Package io.sentry.logger
Class LoggerBatchProcessor
java.lang.Object
io.sentry.logger.LoggerBatchProcessor
- All Implemented Interfaces:
ILoggerBatchProcessor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggerBatchProcessor
(@NotNull SentryOptions options, @NotNull ISentryClient client) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(@NotNull SentryLogEvent logEvent) void
close
(boolean isRestarting)
-
Field Details
-
FLUSH_AFTER_MS
public static final int FLUSH_AFTER_MS- See Also:
-
MAX_BATCH_SIZE
public static final int MAX_BATCH_SIZE- See Also:
-
-
Constructor Details
-
LoggerBatchProcessor
public LoggerBatchProcessor(@NotNull @NotNull SentryOptions options, @NotNull @NotNull ISentryClient client)
-
-
Method Details
-
add
- Specified by:
add
in interfaceILoggerBatchProcessor
-
close
public void close(boolean isRestarting) - Specified by:
close
in interfaceILoggerBatchProcessor
-