Loggers

@node-ts/bus-core by default uses the debug library in order to log details to STDOUT. All log messages that originate from this library are named with a @node-ts/ prefix. In order to get full debug output, set the DEBUG environment variable to @node-ts/*

For example:

DEBUG="@node-ts/*" npm run dev

If you want to use your own logging provider and change the output format etc, this can be changed with any other logger by providing an adapter layer for a custom logger.

Last updated