modreal-logger
This is an opinionated simple logger package. It assumes:
- you want to log to the console
- you use loggly and have a config/loggly.json file
Loggly Config
Put the following in config/loggly.json
:
Usage
Require the logger, and log to it!
var logger = ;logger;
For easy searches with loggly, you can include metadata as well:
logger;
And then you could search it on loggly with:
json.module:winston
License
MIT
AJ Ostrow, November 2013