axxer

1.0.2 • Public • Published

Axxer

Just call the functions of this logger nothing else. No configuration, No headache.

Installing

npm install --save axxer

Usage

  1. Require axxer in your project.
const axxer = require('axxer');
  1. Set the location of logs. If you are using fileLogger() or textLogger()
const options = {
    dir: 'logs'
}
  1. Intialisation of axxer logger.
const logger = new axxer.Logger(options);
  1. Call the logger function like fileLogger()
logger.fileLogger('error', new Error('there is new error'))

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i axxer

    Weekly Downloads

    2

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    7.5 kB

    Total Files

    4

    Last publish

    Collaborators

    • vsvaibhav2016