agrafix/Spock

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

Open

#137 创建于 2017年12月13日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Haskell (596 star) (54 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南