Skip to content

This is a logging library made in Node JS , inspired from other libraries available , it can support multiple transports to log data at multiple places

shubhamseth29/Logging-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logging-Library

Description

This is a logging library inspired from other libraries available , it can support multiple transports to log data at multiple places , here I jave added firebase as an additional transport other than logging to console and a local file. We can add many other like datadog , mongoDB etc. to transports.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Usage

A file named logger.ts can be imported in your project and all methods of library can be used from there. An example implmentation is present in index.ts file at root level. In this parsing from TS to JS is done while build time to run the code in JS environment.

About

This is a logging library made in Node JS , inspired from other libraries available , it can support multiple transports to log data at multiple places

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published