@CheckReturnValue
Package com.google.common.flogger.context
-
Interface Summary Interface Description ScopedLoggingContext.LoggingContextCloseable A logging context which must be closed in the reverse order to which it was created. -
Class Summary Class Description ContextDataProvider An API for injecting scoped metadata for log statements (either globally or on a per-request basis).ContextMetadata ImmutableMetadataimplementation intended for use in nested contexts.ContextMetadata.Builder A builder to collect metadata key/values pairs in order.LogLevelMap A hierarchical mapping from logger name toLevelused to override the configured log level during debugging.LogLevelMap.Builder Builder for log level map which uses type safe class/package keys (but requires that they be present in the JVM at the time the map is created).ScopedLoggingContext A user facing API for creating and modifying scoped logging contexts in applications.ScopedLoggingContext.Builder A fluent builder API for creating and installing new context scopes.ScopedLoggingContext.ScopeList Lightweight internal helper class for context implementations to manage a list of scopes.ScopedLoggingContexts Static methods equivalent to the instance methods onScopedLoggingContextbut which always operate on the currentScopedLoggingContextthat would be returned byScopedLoggingContext.getInstance().ScopeType Singleton keys which identify different types of scopes which scoped contexts can be bound to.Tags Immutable tags which can be attached to log statements via platform specific injection mechanisms.Tags.Builder A mutable builder for tags. -
Exception Summary Exception Description ScopedLoggingContext.InvalidLoggingContextStateException Thrown if it can be determined that contexts have been closed incorrectly.