Package com.google.common.flogger
Interface MetadataKey.KeyValueHandler
-
- All Known Implementing Classes:
KeyValueFormatter
- Enclosing class:
- MetadataKey<T>
public static interface MetadataKey.KeyValueHandlerCallback interface to handle additional contextualMetadatain log statements. This interface is only intended to be implemented by logger backend classes as part of handling metadata, and should not be used in any general application code, other than to implement theMetadataKey.emit(T, com.google.common.flogger.MetadataKey.KeyValueHandler)method in this class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(String key, Object value)Handle a single key/value a pair of contextual metadata for a log statement.
-