summaryrefslogtreecommitdiff
path: root/dput-hslogger
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2019-10-16 13:06:08 +0000
committerJoe Crayne <joe@jerkface.net>2020-01-01 19:42:54 -0500
commitb7e7e047d07b1277b13cf3bf4fa28ceac5ecda2a (patch)
tree63ed93056cc53e956b5213ba2f285d537310849f /dput-hslogger
parent4bae608fed62372b30fe9edf602c0e4c87d92bb3 (diff)
description
Diffstat (limited to 'dput-hslogger')
-rw-r--r--dput-hslogger/dput-hslogger.cabal21
1 files changed, 17 insertions, 4 deletions
diff --git a/dput-hslogger/dput-hslogger.cabal b/dput-hslogger/dput-hslogger.cabal
index 0ddb75ba..f5be9f96 100644
--- a/dput-hslogger/dput-hslogger.cabal
+++ b/dput-hslogger/dput-hslogger.cabal
@@ -1,10 +1,23 @@
1-- Initial dput-hslogger.cabal generated by cabal init. For further
2-- documentation, see http://haskell.org/cabal/users-guide/
3
4name: dput-hslogger 1name: dput-hslogger
5version: 0.1.0.0 2version: 0.1.0.0
6synopsis: Quick and dirty debug prints indexed by user Enum type. 3synopsis: Quick and dirty debug prints indexed by user Enum type.
7-- description: 4description:
5
6 This package is the first of possibly many to provide log messages with the
7 'dput' command. It is implemented as a wrapper around hslogger. Libraries
8 which depend on this library, should contain a non-exposed module called
9 DebugTag with a datatype 'DebugTag' which implements Enum and Show. The
10 intention is to make it easy to cut and paste code between projects which may
11 or may not both use hslogger, but do both use some library which implements the
12 dput interface. The tags used can be library or module specific, or simply
13 specify conventional debug level information like info,debug,error.
14
15 Users may wish to get started developing immediately and keep their options
16 open with regard to logging. For which case, the dput convention will be
17 helpful. They may even decide to make their own dput backend. It is easy to do
18 as the API is very small. The simplest backend would merely output to stderr.
19
20
8license: BSD3 21license: BSD3
9license-file: LICENSE 22license-file: LICENSE
10author: James Crayne 23author: James Crayne