Skip to main content
Version: SDK 5.0.x

Interface LoggerFields

Type used to pass additional fields to a log message. A Logger should be able to encode the fields into the log message.

public interface LoggerFields

All Known Subinterfaces

LoggerFieldsBuilder

All Known Implementing Classes: Metric

Methods

getFields

@NonNull
Map<String,String> getFields()

Return all fields as a map from the field name to the field value.

Returns

A map of all fields.