Skip to Content
@peter
Nov 24, 2016

New in chi: Structured Logging!

Hey everyone, yesterday I finished some updates to the chi Logger middleware thats provides the ability to hook up a custom logger to the stack. The original ideas were contributed to chi by https://github.com/yargevad and after a few iterations I think we have a pretty compelling and simple Logger interface that is compatible with really any stdlib router on Go 1.7+

Check out: https://github.com/pressly/chi/blob/master/_examples/logging/main.go