printers library
This library provides a set of log printers that can be used to format log records into a string representation.
It includes the following printers:
Classes
- FlatPrinter
- A simple, flat-style log printer that outputs log records in a structured format.
- FlatStructuredPrinter
- A structured log printer that formats log records with optional indentation and stack traces.
- FmtPrinter
- A log printer that outputs logs in logfmt format.
- HybridPrinter
- A hybrid log printer that delegates printing based on log level.
- PrefixPrinter
- A customizable log printer that prepends a prefix to each log line.
- PrettyPrinter
- A visually styled log printer that wraps log output in a clean box format.
- PrettyStructuredPrinter
- A structured and visually aligned log printer designed for clear readability.
- SimplePrinter
- Simple printer that outputs basic, compact log messages in a single line.