Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-log

Structured event logging for Pudu: message templates, enrichment, filtering, formatting, and sinks

0.1.0Apache-2.01

InstallClose

Releases

A release never changes; a yanked one still installs from an existing lock.

Latest

0.1.0

First release of pudu-lang-log, a structured event logging package for Pudu, written in Pudu.

  • Message templates with named, positional, destructured, and stringified holes, formats, and alignment; values captured when written under depth, length, and size limits, with destructuring rules that transform, ignore, or mask members of a tag.
  • Logger and Configuration with minimum levels, level switches, per-source overrides, contextual loggers, enrichers (environment, process, masking, computed), filters, sub-loggers, audit, fallible, and fallback sinks, reloadable loggers, and configuration read from JSON, environment variables, or key-value settings through a registry of named sinks and enrichers.
  • Text, JSON, and compact JSON formatting with a reader back into events; an expression language for filters, computed properties, and templates; console, rolling file, HTTP, batching, async, memory, keyed, and observable sinks; request logging, correlation identifiers, timed operations, and a bridge from Std.Log.

Requires Pudu 0.1.2 or later. Install with pudu install @chrismichaelps/pudu-lang-log@0.1.0.

pudu install @chrismichaelps/pudu-lang-log@0.1.0
Browse the source →