Skip to content

Example: Debug Logger

Source: examples/debug-logger/

Shows how to use the static Cli.debug(namespace) logger, similar to the popular debug package:

sh
DEBUG=myapp node cli.js
# myapp Some message

See Features → Debug logger for the full specification.

Released under the MIT License.