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.Logger.Thread

Description

 

Documentation

data ChMsg m a Source

Constructors

ChMsg (m ()) 
End a 
Exc SomeException 

class MonadThreadLogger m n a | m -> n a where Source

Methods

getLogChan :: m (InChan (ChMsg n a)) Source

Instances

liftIOThread :: (MonadIO m, MonadThreadLogger m n a) => (IO () -> IO fa) -> ThreadedLogger' n a (BaseLoggerT l IO) b -> m b Source

withTarget :: (MonadThreadLogger m n a, MonadIO m) => n () -> m () Source