diff options
author | James Crayne <jim.crayne@gmail.com> | 2019-10-16 13:06:08 +0000 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-01 19:42:54 -0500 |
commit | b7e7e047d07b1277b13cf3bf4fa28ceac5ecda2a (patch) | |
tree | 63ed93056cc53e956b5213ba2f285d537310849f /dput-hslogger/dput-hslogger.cabal | |
parent | 4bae608fed62372b30fe9edf602c0e4c87d92bb3 (diff) |
description
Diffstat (limited to 'dput-hslogger/dput-hslogger.cabal')
-rw-r--r-- | dput-hslogger/dput-hslogger.cabal | 21 |
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 | |||
4 | name: dput-hslogger | 1 | name: dput-hslogger |
5 | version: 0.1.0.0 | 2 | version: 0.1.0.0 |
6 | synopsis: Quick and dirty debug prints indexed by user Enum type. | 3 | synopsis: Quick and dirty debug prints indexed by user Enum type. |
7 | -- description: | 4 | description: |
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 | |||
8 | license: BSD3 | 21 | license: BSD3 |
9 | license-file: LICENSE | 22 | license-file: LICENSE |
10 | author: James Crayne | 23 | author: James Crayne |