htsn-common: Display/logging facilities used by both htsn and htsn-import.
This library contains three modules,
Network.Services.TSN.Logging
Network.Services.TSN.Report
Network.Services.TSN.Terminal
They work together to provide "reporting" for the htsn and htsn-import executables which both display and log things in the same way.
The Network.Services.TSN.Logging module allows the application to log to syslog, a file, or both. Four convenience functions are provided to log messages at each priority: error, debug, info, and warn.
The Network.Services.TSN.Terminal provides similar functions that instead display messages on the console (terminal). The output is color-coded according to the severity of the message.
The Network.Services.TSN.Report modules contains convenience functions that both log and display informational message. This is what an (optionally interactive) application will usually want to do.
Modules
[Index]
Downloads
- htsn-common-0.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.1, 0.0.2 |
---|---|
Dependencies | ansi-terminal (>=0.6), base (>=4.6 && <5), hslogger (>=1.2), transformers (>=0.3) [details] |
License | GPL-3.0-only |
Author | Michael Orlitzky |
Maintainer | Michael Orlitzky <michael@orlitzky.com> |
Category | Utils |
Source repo | head: git clone http://michael.orlitzky.com/git/htsn-common.git -b master |
Uploaded | by MichaelOrlitzky at 2014-05-29T14:49:42Z |
Distributions | NixOS:0.0.2 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1915 total (12 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |