Skip to content

aykutgk/mid-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mid-logger for node.js

npm install mid-logger --save

in app.js

var midLogger = require('mid-logger');

app.user(midLogger);

example usage

app.get('/', function(req, res) {

//Logging Levels --> { error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 }

req.logger.info('logging info');

res.send('hello world');

});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published