Expand description
Logging and observability.
Logging is a platform concern, not something every product configures from scratch.
§Rules
- Never log a secret.
Secretredacts itself inDebug; do not undo that by loggingsecret.expose(). - Never log personal data unfiltered — email addresses, repository contents, analytics dimensions that identify a person.
- Attach correlation fields (
spans) instead of writing ids into the message.
Modules§
- spans
- Correlation spans.
Structs§
Enums§
- Format
- Log output format.
Functions§
- init
- Install the global tracing subscriber.