@xyo-network/base

v0.55.8-alpha.0
A base class for the Xyo Network

logo

sdk-base-nodejs

MIT license Build Status Maintainability

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/19/2019

Downloads