github.com/yuchao86/xlog

Package xlog is a logger coupled with HTTP net/context aware middleware. Unlike most loggers, xlog will never block your application because one its outputs is lagging. The log commands are connected to their outputs through a buffered channel and will prefer to discard messages if the buffer get full. All message formatting, serialization and transport happen in a dedicated go routine. Features: It works best in combination with github.com/rs/xhandler.


License
MIT
Install
go get github.com/yuchao86/xlog