@wujie-shell/logger
v1.1.2
Published
Small Node-only logging utilities shared by wujie-shell packages.
Readme
@wujie-shell/logger
Small Node-only logging utilities shared by wujie-shell packages.
- Rotating file writes with numbered backups.
- Default rotation is 2 MB per active log file, keeping numbered backups such
as
main.log -> main.1.log. - Default minimum level is
info. - Single-line log formatting with timestamps, levels, contexts, and metadata.
important(...)writes low-frequency lifecycle checkpoints even when the current minimum level iserror; keep it out of user-action and streaming paths.- Basic secret redaction for structured metadata.
- Line buffering for chunked stdout/stderr streams.
