withMetadata

@CanIgnoreReturnValue()
public final ScopedLoggingContext.Builder withMetadata<T>(FloggerMetadataKey<T> key, T value)

Adds a single metadata key/value pair to the context. This method can be called multiple times on a builder.