logger

logger functionalities.

The above command would starts a tcp server on the port 8000 for logs.

Classes

Logger

Methods

(inner) defaults(name)

Parameters:
Name Type Description
name string

the log tag

Example
var logger = require('logger')('some tag')
logger.log('test')
logger.error('something went wrong')