MetadataKeyValueHandlers

public final class MetadataKeyValueHandlers

A helper class providing the default callbacks and handlers for processing metadata as key/value pairs. It is expected that most text-based logger backends will format unknown metadata using the handlers from this class.

See also

<a href="https://github.com/google/flogger/blob/cb9e836a897d36a78309ee8badf5cad4e6a2d3d8/api/src/main/java/com/google/common/flogger/backend/MetadataKeyValueHandlers.java">

Original Java code of Google Flogger

Functions

Link copied to clipboard
Returns a new MetadataHandler.Builder which handles all non-ignored metadata keys by dispatching their values to the key itself.
Link copied to clipboard
Returns a new MetadataHandler which handles all non-ignored metadata keys by dispatching their values to the key itself.
Link copied to clipboard
Returns a singleton value handler which dispatches metadata to a KeyValueHandler.
Link copied to clipboard
Returns a singleton value handler which dispatches metadata to a KeyValueHandler.