rabama-logger
v1.2.3
Published
`rabama-logger` is a customized configuration of [winston](https://www.npmjs.com/package/winston) logger module. this package is used in rabama company's applications to implement logging in different softwares.
Downloads
3
Readme
##What is rabama-logger ?
rabama-logger
is a customized configuration of winston logger module.
this package is used in rabama company's applications to implement logging in different softwares.
##How to use install module using npm:
npm install rabama-logger --save
Then use it in your code:
const logger = require("rabama-logger")
logger.info("this is an info log", "This is a Section");
logger.info("this is an info log");
logger.error("this is an info error");
logger.warn("this is an info warn");
logger.debug("this is an info debug");
######You can use it with or without section. Section is used to specify the part of the code which the logger is used in,