logger-0.1.0.0: Fast & extensible logging framework

Copyright(C) 2015 Flowbox
LicenseApache-2.0
MaintainerWojciech Daniło <wojciech.danilo@gmail.com>
Stabilitystable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

System.Log.Format

Description

 

Documentation

newtype Formatter a Source

Constructors

Formatter 

Fields

runFormatter :: Log a -> Doc
 

Instances

Show (Formatter a) 
(~) * a b => FormatterBuilder (Formatter a) b 

mapFormatter :: ((Log t -> Doc) -> Log a -> Doc) -> Formatter t -> Formatter a Source

class FormatterBuilder a b where Source

Instances

class PPrint a where Source

Methods

pprint :: a -> Doc Source

Instances

lvlColor :: (Ord a, Num a) => a -> Doc -> Doc Source