google / google/flogger

Missing documentation for Metadata/Tags

Open
#36 4 comments 1 reaction 0 assignees View on GitHub
P3
Dominant language
Java
Stars
1.5k
Forks
133
Avg merge
6m
Merged PRs (30d)
7

Description

While writing a backend for SLF4J, I stumbled across the Flogger concept of Metadata and Tags, which seem like they would map very well to SLF4J's concept of [MDC](https://logback.qos.ch/manual/mdc.html). However, while I can see that one receives the Metadata and Tags in various places, my search has not turned up any way to actually **set** them.

It would be very helpful if someone could drop a few lines of code showing how to set a simple Tag to point me in the right direction so I could implement the parsing/delegating of it in the SLF4J backend.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.