omni-loggers
v1.0.3
Published
omni-loggers to create 'sqlite' file to save all logs, generate a local file to put the logs.
Downloads
3
Maintainers
Readme
omni-loggers
How to use
yarn add omni-loggers
or
npm install --save omni-loggers
Simple log and save on log/loggers.log
const logger = require('omni-loggers');
logger.info('My info message here');
logger.info({message:'My info message here'});
logger.error('My error message here');
logger.error({message:'My error message here'});
logger.warn('My warn message here');
logger.warn({message:'My warn message here'});