logsmith 1.0.0
logsmith: ^1.0.0 copied to clipboard
A declarative structured-logging library — typed attrs, themed output, six formats (text, JSON, YAML, TOML, Mace, logfmt), and categorical stdout/stderr routing.
1.0.0 #
Initial stable release.
- Immutable structured records with nested attrs, persistent logger attrs, zone attrs, caller capture, and sentinel-based record copying.
- Single-line, multiline, and boxed loggers with level-based stdout/stderr routing.
- Six emitters: terminal text, JSON, YAML, TOML, Mace, and logfmt.
- Fifty bundled terminal themes with dark/light pairs, style inheritance, color-depth quantization, OSC-8 hyperlinks, and OSC-11 adaptive terminal-background selection.
- Terminal policy detection for
NO_COLOR, force-color variables, terminal capabilities, pseudo-terminals, and machine consumers. - File and rotating-file sinks, record-aware flushing, ANSI-stripping sinks, and bounded asynchronous delivery.
- Opt-in isolate identity and terminal-cell-aware scalar truncation for human-readable output.