packages feed

yesod-katip-0.1.0.0: yesod-katip.cabal

cabal-version:       2.0
name:                yesod-katip
version:             0.1.0.0
synopsis:            Logging bridge between Yesod and Katip
description:         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.
homepage:            https://github.com/ivanbakel/yesod-katip#readme
license:             BSD3
license-file:        LICENSE
author:              Isaac van Bakel
maintainer:          ivb@vanbakel.io
copyright:           2020 Isaac van Bakel
category:            Logging,Web
build-type:          Simple
extra-source-files:  README.md

library
  hs-source-dirs:      src
  exposed-modules:     Yesod.Katip
                     , Yesod.Katip.Class
                     , Yesod.Katip.Orphans
  build-depends:       base >= 4.7 && < 5
                     , aeson >= 1 && < 2
                     , data-default ^>= 0.7
                     , katip ^>= 0.8
                     , monad-logger ^>= 0.3
                     , wai >= 3 && < 4
                     , wai-extra >= 3 && < 4
                     , yesod-core ^>= 1.6
                     , ytl ^>= 0.1
                     -- Required only by a polyfill, so whatever version gets
                     -- pulled in by the user's build system is probably fine
                     , case-insensitive
                     , http-types
                     , iproute
                     , network
                     , text
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/ivanbakel/yesod-katip