Skip to main content

Module log

Module log 

Source
Expand description

Structured logging to stderr. Level-aware — respects TATARA_LOG env variable (debug | info | warn | error). Default level is info.

(log-debug MSG) (log-info MSG) (log-warn MSG) (log-error MSG)

Each emits a timestamped, level-prefixed line. Scripts that want structured JSON should use (json-stringify …) and (eprint-line).

Functions§

install