@CheckReturnValue
Package io.spine.logging.flogger.backend
Introduces a logging backend and dependent entities.
- See Also:
- Original Java code of Google Flogger
-
Interface Summary Interface Description LogData A backend API for determining metadata associated with a log statement.MetadataHandler.RepeatedValueHandler<T,C> API for handling repeated metadata key/values in a single callback.MetadataHandler.ValueHandler<T,C> API for handling metadata key/value pairs individually.SimpleMessageFormatter.SimpleLogHandler Deprecated. Use aLogMessageFormatterand obtain the level and cause separately. -
Class Summary Class Description BaseMessageFormatter The default formatter for log messages and arguments.FormatOptions A structured representation of formatting options compatible with printf style formatting.KeyValueFormatter Formats key/value pairs as a human readable string on the end of log statements.LoggerBackend Interface for all logger backends.LogMessageFormatter API for formatting Flogger log messages from logData and scoped metadata.MessageUtils Static utilities for classes wishing to implement their own log message formatting.Metadata A sequence of metadata key/value pairs which can be associated to a log statement, either directly via methods in the fluent API, of as part of a scoped logging context.MetadataHandler<C> Callback API for logger backend implementations to handle metadata keys/values.MetadataHandler.Builder<C> Builder for a map-basedMetadataHandlerwhich allows handlers to be associated with individual callbacks.MetadataKeyValueHandlers A helper class providing the default callbacks and handlers for processing metadata as key/value pairs.MetadataProcessor Processor combining scope and log-site metadata into a single view.Platform Platform abstraction layer required to allow fluent logger implementations to work on differing Java platforms (such as Android or GWT).Platform.LogCallerFinder API for determining the logging class and log statement sites, return fromPlatform.getCallerFinder().SimpleMessageFormatter Helper class for formatting LogData as text.TemplateContext A context object for templates that allows caches to validate existing templates or create new ones. -
Enum Summary Enum Description FormatChar An enum representing the printf-like formatting characters that must be supported by all logging backends.FormatType The general formatting type of any one of the predefinedFormatCharinstances. -
Exception Summary Exception Description LoggingException Exception thrown when a log statement cannot be emitted correctly.