node-chillog
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.
Available Functions
- chillog.alert
- chillog.critical
- chillog.error
- chillog.notice
- chillog.info
- chillog.debug
Examples
Initialize with defaults
var Chillog = ; var chillog =
Initialize with config
var Chillog = ; var chillog = hostname: "log.creator.com"
Short message logging
logger
Short message and long message logging
logger
Short message logging with additional JSON data
logger
Short message and long message logging with additional JSON data
logger