agrafix/Spock

Custom logging using e.g. katip/monad-logger

Open

#137 opened on Dec 13, 2017

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Haskell (596 stars) (54 forks)batch import
enhancementhelp wanted

Description

Hey folks, thanks for writing Spock!

This might not be the place for this request but I was wondering if you could perhaps add some advice to the documentation about how Spock users should go about adding logging to a Spock application. I know there are things like wai-extras that have a wai middleware for logging requests but, at least in the applications I work on, I'd also like to do some custom logging.

Specifically, I'm interested in how I should go about integrating with common libraries like monad-logger or katip but I'd appreciate any general advice you have.

Contributor guide