agrafix/Spock

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

Open

#137 aperta il 13 dic 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Haskell (54 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (596 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor