@xyo-network/base
v0.51.0sdk-base-nodejs
A core util/logging library inspired by XYO.
Logging
You can access the logger from XyoBase
or from an instance of IXyoLog
. Logging levels are in the following order:
- Error
- Warning
- Info (default)
- Verbose
- Debug
- Silly
You can change the logging level for the console and for the log file by changing the environment vars: XYO_LOG
(for logs), and XYO_CONSOLE
(for console). The path and name of the log can be changed with the environment vars: XYO_LOG_PATH
and XYO_LOG_NAME
.
npm i @xyo-network/[email protected]
Metadata
- MIT
- Whatever
- XY Development Team
- released 4/5/2019