This package has been deprecated

Author message:

This package is no longer maintained

cool-logger

0.0.1 • Public • Published

cool-logger

A cool yet simple logger for Node.js.

Screenshot

Installation

$ npm install cool-logger

Usage

import { format, critical, error, warning, notice, info, debug, log } from "call-dir";

// ... and let the magic happen:
critical( "This is a critical message" );
error( "This is a error message" );
warning( "This is a warning message" );
notice( "This is a notice message" );
info( "This is a info message" );
debug( "This is a debug message" );
log( "This is a custom APP message", "APP" );
log( "This is a custom DAB message", "DAB" );

// ... also provides a morgan format for Express.js:
app.use( morgan( format ) );

Readme

Keywords

Package Sidebar

Install

npm i cool-logger

Weekly Downloads

3

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bartozzz