yesod-katip-0.1.0.0: Logging bridge between Yesod and Katip
Copyright(c) Isaac van Bakel 2020
LicenseBSD3
Maintainerivb@vanbakel.io
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Yesod.Katip.Orphans

Description

If you configure your Yesod site to log HTTP structures to Yesod, you will need instances of ToObject and LogItem for the structures you want to log.

By default, KatipContextSite will add the WAI request to the context - which is why its Yesod instance requires those classes on the Request type. This module contains simple implementations for those classes on Request, to help set up a quick and easy use of KatipContextSite.

Orphan instances

ToObject Request Source # 
Instance details

Methods

toObject :: Request -> Object #

LogItem Request Source # 
Instance details