Node-Chillog implements stdout logging and loosely follow Gelf RFC. This has been modified based on our team needs. The notable changes are removal of emergency logging and timestamp in milliseconds.
- chillog.alert
- chillog.critical
- chillog.error
- chillog.notice
- chillog.info
- chillog.debug
var Chillog = require("node-chillog");
var chillog = new Chillog()
var Chillog = require("node-chillog");
var chillog = new Chillog({
hostname: "log.creator.com"
})
logger.alert("alert... short message")
logger.critical("critical... short message", "critical... long message here. some backtraces stuff")
logger.error("error... short message", { user_id: 42 })
logger.notice("notice... short message", "notice... long story short. you might need to notice this", { user_id: 42 })