@chia-carbon/core-registry-logger

1.0.13 • Public • Published

Core Registry Logger

example usage

const Logger = require('@chia-carbon/core-registry-logger');
const logger = new Logger({
  projectName: 'tokenization-engine',
  logLevel: 'info',
  packageVersion: '1.0.0'
});

Log Levels

The following error levels can be used in your project. These can be used in any way you like, but the original design concept is as follows:

fatal: Only show fatal errors
error: Shows all errors
task_error: All errors including from async tasks
warn: All errors and warnings
info: Warnings, errors, plus informative messages
task: Similar to info, but includes async tasks
debug: Verbose logging with additional troubleshooting messages
trace: Show all output

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @chia-carbon/core-registry-logger

    Homepage

    www.chia.net

    Weekly Downloads

    23

    Version

    1.0.13

    License

    Apache-2.0

    Unpacked Size

    24 kB

    Total Files

    7

    Last publish

    Collaborators

    • chia-automation