log
log copied to clipboard
Go logging library used at Mailgun.
Hi, `github.com/mailgun/log` cannot be imported and compiled on a windows platform. It would be great to make use of the wrapper https://github.com/hashicorp/go-syslog that allows to import syslog without cross-compilations issue...
syslog is not implemented for windows yet, so we simply omit the syslog.go file from windows builds, and include a stub for windows builds.
If set log config to "name: json_console", messages to stdout will be in json format each message is one object. It is conveniently for sending logs to elasticsearch storage. Tested...