git.iko.soy/typeable/stupid-logging
on master help sign in
typeable/stupid-logging/stupid-logging.cabal
37 lines 1.0 kB history raw
1cabal-version: 3.0
2name: stupid-logging
3version: 0.1
4synopsis: Do logging in a very stupid way
5-- description:
6license: MIT
7license-file: LICENSE
8author: Nick
9maintainer: nick@typeable.io
10copyright: Typeable.io
11category: System
12build-type: Simple
14flag json
15 description: Enable JSON logging support with aeson
16 default: False
17 manual: True
19common warnings
20 ghc-options: -Wall -Wno-orphans
22library
23 import: warnings
24 exposed-modules: System.Logging
25 other-modules: System.Logging.Plain
26 System.Logging.Types
27 System.Logging.Utils
28 default-extensions: OverloadedRecordDot
29 build-depends: base >=4.16 && < 5.0
30 , text
31 if flag(json)
32 other-modules: System.Logging.JSON
33 build-depends: aeson
34 , bytestring
35 cpp-options: -DWITHJSON
36 hs-source-dirs: src
37 default-language: GHC2021