monad-journal: Pure logger typeclass and monad transformer

[ bsd3, control, library ] [ Propose Tags ]

This package provides a typeclass for logging in pure code, or more generally, in any kind of context. You can do whatever you want with logs, especially get them, clear them or even sink them through IO if you're logging in (MonadIO m) => m.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.2.0, 0.2.3.0, 0.2.3.1, 0.2.3.2, 0.2.4, 0.3, 0.4, 0.4.0.1, 0.4.0.2, 0.5, 0.5.0.1, 0.6, 0.6.0.1, 0.6.0.2, 0.7, 0.7.1, 0.7.2, 0.8.0, 0.8.1
Change log CHANGELOG.md
Dependencies base (>=4.5 && <4.8), either (>=4.1 && <4.4), monad-control (>=0.3 && <0.4), mtl (>=2.1 && <2.3), transformers (>=0.3 && <0.5), transformers-base (>=0.4 && <0.5) [details]
License BSD-3-Clause
Author Dimitri Sabadie <dimitri.sabadie@gmail.com>
Maintainer Dimitri Sabadie <dimitri.sabadie@gmail.com>
Revised Revision 1 made by HerbertValerioRiedel at 2015-01-07T08:23:58Z
Category Control
Home page http://github.com/phaazon/monad-journal
Bug tracker http://github.com/phaazon/monad-journal/issues
Source repo head: git clone git://github.com/phaazon/monad-journal.git
Uploaded by DimitriSabadie at 2014-12-21T22:42:40Z
Distributions Arch:0.8.1, Debian:0.8.1, Fedora:0.8.1
Reverse Dependencies 3 direct, 3 indirect [details]
Downloads 44771 total (80 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-06-05 [all 2 reports]

Readme for monad-journal-0.6.0.1

[back to package description]

monad-journal

Pure logger typeclass and monad transformer

What is monad-journal?

monad-journal is a simple but powerful answer to the logging problem. A lot of people think that “logging” is IO-related, while it’s not. Everyone must know MonadWriter , which is perfect to log things in pure computations. The issue is that you can’t access those “things” inside the computation itself. monad-journal exposes a cool typeclass called MonadJournal that enables you to do so.