The simple-logger package

[ Tags: library, logging, mit ] [ Propose Tags ]

A very simple but efficient logging framework


[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2, 0.0.3, 0.0.4
Dependencies base (>=4.8 && <5), fast-logger, mtl, text [details]
License MIT
Author
Maintainer Alexander Thiemann <mail@athiemann.net>
Category Logging
Home page https://github.com/agrafix/simple-logger#readme
Bug tracker https://github.com/agrafix/simple-logger/issues
Source repository head: git clone https://github.com/agrafix/simple-logger
Uploaded Tue Jul 25 13:57:33 UTC 2017 by AlexanderThiemann
Distributions NixOS:0.0.4
Downloads 214 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-07-25 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for simple-logger-0.0.4

[back to package description]

Control.Logger.Simple

A small and fast opinionated logging framework. Needs GHC >=7.10

Example

{-# LANGUAGE OverloadedStrings #-}
module Main where

import Control.Logger.Simple

main :: IO ()
main =
    withGlobalLogging (LogConfig (Just "logfile.txt") True) $
    do logInfo "Hi!"