@sfd-br/logger
v0.1.2
Published
Logger Utilitário do SFD.
Downloads
3
Keywords
Readme
Utility SFD Logger
This will print a log, showing file, function, line and column.
Install
$ npm i -S @sfd-br/logger
Doc
function(level='debug', name='sfd', appRoot=__dirname);
Example
// loading global logger
global.logger = require('@sfd-br/logger')('debug', 'sfd-dlt-gateway', __dirname);
logger.error("Some Error Log");
logger.info("Some Info Log");
License
SFD