KeyValueHandler

public interface KeyValueHandler

Callback interface to handle additional contextual Metadata in 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 the emit method in this class.

Inheritors

Functions

Link copied to clipboard
public abstract void handle(String key, Object value)
Handle a single key/value a pair of contextual metadata for a log statement.