simple-logger: A very simple but efficient logging framework

[ library, logging, mit ] [ Propose Tags ]

A very simple but efficient logging framework


[Skip to Readme]
Versions [faq] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0
Dependencies base (>=4.9 && <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 repo head: git clone https://github.com/agrafix/simple-logger
Uploaded by AlexanderThiemann at 2020-05-23T03:35:03Z
Distributions NixOS:0.0.4
Downloads 2420 total (121 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2020-05-23 [all 3 reports]

Modules

  • Control
    • Logger
      • Control.Logger.Simple

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for simple-logger-0.1.0

[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!"