nolo

0.2.1 • Public • Published

Node log

Getting started:

Install nolo

npm i nolo

and use

const Logger = require('nolo');

const logger = new Logger();
  • Using console logs:
logger
  .error('Oops, error!');
  • Using log file:
logger
  .setFileTransport('./logs.txt')
  .error('Oops, error!');

Nolo methods

logger
    .emerg('Emergency message')
    .crit('Critical message')
    .error('Error message')
    .warning('Warning message')
    .notice('Notice message')
    .info('Info message')
    .debug('Debug message');

Output:

nolo output

Readme

Keywords

none

Package Sidebar

Install

npm i nolo

Weekly Downloads

2

Version

0.2.1

License

ISC

Unpacked Size

2.62 kB

Total Files

6

Last publish

Collaborators

  • goodstemy