Socket
Socket
Sign inDemoInstall

cool-logger

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cool-logger

A cool yet simple logger for Node.js


Version published
Maintainers
1
Install size
131 kB
Created

Readme

Source

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 ) );

Keywords

FAQs

Last updated on 06 Aug 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc