Safe Haskell | None |
---|---|
Language | Haskell2010 |
- gmSetLogLevel :: GmLog m => GmLogLevel -> m ()
- gmGetLogLevel :: forall m. GmLog m => m GmLogLevel
- gmSetDumpLevel :: GmLog m => Bool -> m ()
- increaseLogLevel :: GmLogLevel -> GmLogLevel
- decreaseLogLevel :: GmLogLevel -> GmLogLevel
- gmLog :: (MonadIO m, GmLog m, GmOut m) => GmLogLevel -> String -> Doc -> m ()
- gmLogQuiet :: GmLog m => GmLogLevel -> String -> Doc -> m ()
- gmAppendLogQuiet :: GmLog m => GhcModLog -> m ()
- gmVomit :: (MonadIO m, GmLog m, GmOut m, GmEnv m) => String -> Doc -> String -> m ()
- newtype LogDiscardT m a = LogDiscardT {
- runLogDiscard :: m a
- module Language.Haskell.GhcMod.Pretty
- data GmLogLevel
- module Text.PrettyPrint
- module Data.Monoid
Documentation
gmSetLogLevel :: GmLog m => GmLogLevel -> m () Source #
gmGetLogLevel :: forall m. GmLog m => m GmLogLevel Source #
gmSetDumpLevel :: GmLog m => Bool -> m () Source #
gmLog :: (MonadIO m, GmLog m, GmOut m) => GmLogLevel -> String -> Doc -> m () Source #
>>>
Just GmDebug <= Nothing
False>>>
Just GmException <= Just GmDebug
True>>>
Just GmDebug <= Just GmException
False
gmLogQuiet :: GmLog m => GmLogLevel -> String -> Doc -> m () Source #
gmAppendLogQuiet :: GmLog m => GhcModLog -> m () Source #
newtype LogDiscardT m a Source #
LogDiscardT | |
|
MonadTrans LogDiscardT Source # | |
Monad m => Monad (LogDiscardT m) Source # | |
Functor m => Functor (LogDiscardT m) Source # | |
Applicative m => Applicative (LogDiscardT m) Source # | |
Monad m => GmLog (LogDiscardT m) Source # | |
data GmLogLevel Source #
module Text.PrettyPrint
module Data.Monoid