@xyo-network/base
v0.1.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/base
Source Code
github.com/XYOracleNetwork/s...Metadata
- MIT
- Whatever
- Carter Harrison
- released 4/25/2019