uvmhs-0.0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

UVMHS.Lib.Logging

Documentation

newtype LogLevel Source #

Constructors

LogLevel 

Fields

Instances

Instances details
Show LogLevel Source # 
Instance details

Defined in UVMHS.Lib.Logging

Eq LogLevel Source # 
Instance details

Defined in UVMHS.Lib.Logging

Ord LogLevel Source # 
Instance details

Defined in UVMHS.Lib.Logging

Pretty LogLevel Source # 
Instance details

Defined in UVMHS.Lib.Logging

Methods

pretty :: LogLevel -> Doc Source #

newtype LogDepth Source #

Constructors

LogDepth 

Fields

Instances

Instances details
Show LogDepth Source # 
Instance details

Defined in UVMHS.Lib.Logging

Eq LogDepth Source # 
Instance details

Defined in UVMHS.Lib.Logging

Ord LogDepth Source # 
Instance details

Defined in UVMHS.Lib.Logging

Pretty LogDepth Source # 
Instance details

Defined in UVMHS.Lib.Logging

Methods

pretty :: LogDepth -> Doc Source #

pplog :: (Monad m, MonadIO m, MonadReader r m, HasLens r LogOptions) => ℕ64 -> (() -> Doc) -> m () Source #

pplogd :: (Monad m, MonadIO m, MonadReader r m, HasLens r LogOptions) => ℕ64 -> (() -> Doc) -> m () Source #

whenLogLevel :: (Monad m, MonadReader r m, HasLens r LogOptions) => ℕ64 -> (() -> m ()) -> m () Source #