@augu/logging
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@augu/logging

Workflow Status

👾 | Make logging pretty

Usage

const { createLogger, FileTransport } = require('@augu/logging');
const logger = createLogger({
  namespace: 'Namespace',
  transports: [FileTransport], // constructor that can be used with `new` or a new instance
  levels: [
    {
      level: 'debug',
      color: '' // hex, hsl, rgb, number
    }
  ]
});

logger.info('Test!');

License

@augu/logging is released under the MIT License. Read here for more information.

/@augu/logging/

    Package Sidebar

    Install

    npm i @augu/logging

    Weekly Downloads

    1

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    20 kB

    Total Files

    9

    Last publish

    Collaborators

    • auguwu
    • ohlookitsaugust