Skip to content

WebDeveloperAndrew/quasimodallogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

quasimodallogger

A simple module for the logging purposes of quasimodal

Installing

Install the package using the following command:

npm i quasimodallogger

Sample Code

The logger will output to stdout as well as 2 files a combined logging file and an error logging file.

const log = require("quasimodallogger");

log.info("test");
log.error("ERROR");

Enviornment variables

There are two enviornment variables that can be changed.

APPNAME - Changes the name of the app in the logs and changes the log filenames.
LOG_PATH - Changes the path of the log files.

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A custom logger for node.js using bunyan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published