1.0.2 • Published 6 years ago

@meetalodariya/hr-logger v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

Logger

Getting Started

Following instructions will help you to set up this project on your local machine.

Installation

first run this command to install all required node modules :

$ npm install --save @meetalodariya/hr-logger

Usage

now import this in your file by

 import logger from "@meetalodariya/hr-logger";

This functions are available on logger object

logger.error(errorObj , req)

logger.info(errorObj, req)

logger.warn(message)

All logs are written in rootDir/logs/combined.log

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago