Uses of Record Class
codes.grow.packages.betterstack.logging.ExportResult
Packages that use ExportResult
Package
Description
Grow Codes SDK for Better Stack Logs.
-
Uses of ExportResult in codes.grow.packages.betterstack
Methods in codes.grow.packages.betterstack that return types with arguments of type ExportResultModifier and TypeMethodDescriptionBetterStackLogExporter.export(List<LogRecord> records, ExportOptions options) Sends the records in as few requests as the limits allow.BetterStackOtlpLogExporter.export(List<LogRecord> records, ExportOptions options) Sends the records; the future never fails for service errors (seeLogExporter). -
Uses of ExportResult in codes.grow.packages.betterstack.logging
Methods in codes.grow.packages.betterstack.logging that return ExportResultModifier and TypeMethodDescriptionstatic ExportResultExportResult.failure(int accepted, int rejected, BetterStackException e) Some or all records failed.static ExportResultExportResult.success(int accepted) All records accepted.Methods in codes.grow.packages.betterstack.logging that return types with arguments of type ExportResultModifier and TypeMethodDescriptionLogExporter.export(List<LogRecord> records, ExportOptions options) Exports a batch. -
Uses of ExportResult in codes.grow.packages.betterstack.testing.logging
Methods in codes.grow.packages.betterstack.testing.logging that return types with arguments of type ExportResultModifier and TypeMethodDescriptionInMemoryLogExporter.export(List<LogRecord> batch, ExportOptions options) Method parameters in codes.grow.packages.betterstack.testing.logging with type arguments of type ExportResultModifier and TypeMethodDescriptionvoidInMemoryLogExporter.enqueueOutcome(Function<List<LogRecord>, CompletableFuture<ExportResult>> outcome) Scripts the outcome of the next export call (FIFO).