Copyright | (C) 2015 Flowbox |
---|---|
License | Apache-2.0 |
Maintainer | Wojciech Daniło <wojciech.danilo@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
class MonadLoggerHandler n m | m -> n where Source
Nothing
addHandler :: Handler n (LogFormat m) -> m () Source
(Monad m, MonadLoggerHandler h m) => MonadLoggerHandler h (PriorityLoggerT m) | |
(Monad m, MonadLoggerHandler h m) => MonadLoggerHandler h (DropLoggerT m) | |
(Monad m, MonadLoggerHandler n m) => MonadLoggerHandler n (WriterLogger m) | |
(MonadIO m, MonadLoggerHandler h d, (~) * (LogFormat m) (LogFormat d)) => MonadLoggerHandler h (ThreadedLogger' d a m) | |
(Monad m, Functor m) => MonadLoggerHandler (HandlerLogger m) (HandlerLogger m) |
addChildHandler :: Handler m l -> Handler m l -> Handler m l Source
setFormatter :: Formatter l -> Handler m l -> Handler m l Source
topHandler :: Monad m => Formatter l -> Handler m l Source
newtype HandlerLogger m a Source
HandlerLogger | |
|
MonadTrans HandlerLogger | |
(Functor m, MonadLogger m, (~) * l (LogFormat m), LogBuilder d (HandlerLogger m), LookupDataSet Msg l, LookupDataSet Lvl l) => MonadRecord d (HandlerLogger m) | |
Monad m => Monad (HandlerLogger m) | |
Functor m => Functor (HandlerLogger m) | |
(Monad m, Functor m) => Applicative (HandlerLogger m) | |
MonadIO m => MonadIO (HandlerLogger m) | |
(MonadLogger m, Functor m, (~) * l (LogFormat m), LookupDataSet Msg l, LookupDataSet Lvl l) => MonadLogger (HandlerLogger m) | |
(Monad m, Functor m) => MonadLoggerHandler (HandlerLogger m) (HandlerLogger m) | |
type LogFormat (HandlerLogger m) = LogFormat m |
runHandlerLoggerT :: (Functor m, Monad m) => Formatter (LogFormat m) -> HandlerLogger m b -> m b Source
runHandler :: (Applicative m, Monad m) => Doc -> Log (LogFormat m) -> Handler' m -> m () Source
getTopHandler :: Monad m => HandlerLogger m (Handler (HandlerLogger m) (LogFormat m)) Source
putTopHandler :: Monad m => Handler (HandlerLogger m) (LogFormat m) -> HandlerLogger m () Source