2.0.1 • Published 4 years ago

@augu/logging v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@augu/logging

Workflow Status

:space_invader: | Make logging pretty :sparkles:

npm.io

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.

2.0.1

4 years ago

1.0.4

4 years ago

2.0.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago