@hackage / simple-logger

A very simple but efficient logging framework

Latest0.1.1

About

Metadata

  • Last updated , by AlexanderThiemann
  • License MIT
  • Maintained by: Alexander Thiemann <mail@athiemann.net>

  • Lottery factor: 0

Links

Installation

Readme

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