1.0.2 • Published 6 years ago
axxer v1.0.2
Axxer
Just call the functions of this logger nothing else. No configuration, No headache.
Installing
npm install --save axxerUsage
- Require axxer in your project.
const axxer = require('axxer');- Set the location of logs. If you are using fileLogger() or textLogger()
const options = {
dir: 'logs'
}- Intialisation of axxer logger.
const logger = new axxer.Logger(options);- Call the logger function like fileLogger()
logger.fileLogger('error', new Error('there is new error'))