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 MonadPriorityLogger m where Source
getPriority :: m Int Source
setPriority :: Enum a => a -> m () Source
Monad m => MonadPriorityLogger (PriorityLoggerT m) | |
Monad m => MonadPriorityLogger (DropLoggerT m) | |
(MonadIO m, MonadPriorityLogger d) => MonadPriorityLogger (ThreadedLogger' d a m) |
newtype PriorityLoggerT m a Source
MonadTrans PriorityLoggerT | |
(MonadLogger m, MonadRecord d m, LookupDataSet Lvl d) => MonadRecord d (PriorityLoggerT m) | |
(Monad m, MonadLoggerHandler h m) => MonadLoggerHandler h (PriorityLoggerT m) | |
Monad m => Monad (PriorityLoggerT m) | |
Functor m => Functor (PriorityLoggerT m) | |
(Monad m, Functor m) => Applicative (PriorityLoggerT m) | |
MonadIO m => MonadIO (PriorityLoggerT m) | |
Monad m => MonadPriorityLogger (PriorityLoggerT m) | |
type LogFormat (PriorityLoggerT m) = LogFormat m |
runPriorityLoggerT :: (Functor f, Enum a) => a -> PriorityLoggerT f b -> f b Source