Scoped Logging Contexts
Static methods equivalent to the instance methods on ScopedLoggingContext but which always operate on the current ScopedLoggingContext that would be returned by getInstance.
See also
<a href="https://github. com/google/flogger/blob/cb9e836a897d36a78309ee8badf5cad4e6a2d3d8/api/src/main/java/com/google/common/flogger/context/Scoped Logging Contexts. java">
Original Java code of Google Flogger
Functions
Link copied to clipboard
Adds a single metadata key/value pair to the current context.
Link copied to clipboard
Applies the given log level map to the current context.
Link copied to clipboard
Creates a new ScopedLoggingContext.Builder to which additional logging metadata can be attached before being installed or used to wrap some existing code.