summaryrefslogtreecommitdiff
path: root/dput-hslogger/dput-hslogger.cabal
blob: f5be9f96e3996640c0ddd27e9c7130c4442be55b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name:                dput-hslogger
version:             0.1.0.0
synopsis:            Quick and dirty debug prints indexed by user Enum type.
description:

    This package is the first of possibly many to provide log messages with the
    'dput' command. It is implemented as a wrapper around hslogger.  Libraries
    which depend on this library, should contain a non-exposed module called
    DebugTag with a datatype 'DebugTag' which implements Enum and Show. The
    intention is to make it easy to cut and paste code between projects which may
    or may not both use hslogger, but do both use some library which implements the
    dput interface. The tags used can be library or module specific, or simply
    specify conventional debug level information like info,debug,error.

    Users may wish to get started developing immediately and keep their options
    open with regard to logging.  For which case, the dput convention will be
    helpful. They may even decide to make their own dput backend. It is easy to do
    as the API is very small. The simplest backend would merely output to stderr.


license:             BSD3
license-file:        LICENSE
author:              James Crayne
maintainer:          jim.crayne@gmail.com
-- copyright:
category:            Development
build-type:          Simple
extra-source-files:  CHANGELOG.md
cabal-version:       >=1.10

library
  exposed-modules:     DPut
  -- other-modules:
  other-extensions:    ConstraintKinds, ScopedTypeVariables
  build-depends:       base -any, containers -any, bytestring -any, text -any, hslogger -any
  hs-source-dirs:      src
  default-language:    Haskell2010