yesod-katip: Logging bridge between Yesod and Katip

[ bsd3, library, logging, web ] [ Propose Tags ]

A library of ytl-style site transformers for adding Katip logging functionality to Yesod monads, as well as capturing and redirectly Yesod-style logging to Katip scribes.

This package supports two workflows:

  • Taking an existing Yesod website and making its logs also go to Katip, without changing any of the handlers, by wrapping the foundation site in a site transformer.

  • Using the Katip logging API inside Yesod handlers and widgets through constraints on the foundation site. In this workflow, the site transformers are an easy way to give an existing foundation site Katip functionality and sensible default behaviours.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS]
Dependencies aeson (>=1 && <2), base (>=4.7 && <5), case-insensitive, data-default (>=0.7 && <0.8), http-types, iproute, katip (>=0.8 && <0.9), monad-logger (>=0.3 && <0.4), network, text, wai (>=3 && <4), wai-extra (>=3 && <4), yesod-core (>=1.6 && <1.7), ytl (>=0.1 && <0.2) [details]
License BSD-3-Clause
Copyright 2020 Isaac van Bakel
Author Isaac van Bakel
Category Logging, Web
Home page
Source repo head: git clone
Uploaded by ivanbakel at 2020-12-29T13:35:05Z
Downloads 213 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-12-29 [all 1 reports]

Readme for yesod-katip-

[back to package description]

yesod-katip - Use Katip in your Yesod site

yesod-katip is a utility library for easily adding katip operability to your yesod site. It provides class instances for logging to Katip scribes directly from a Yesod HandlerFor; as well as utility wrappers for augmenting a Yesod site with useful Katip behaviours, like pulling in HTTP context automatically, and making the Yesod logger output to Katip.

For more information, have a look at the module documentation.