Safe Haskell | None |
---|
Ganeti logging functions expressed using MonadBase
This allows to use logging functions without having instances for all possible transformers.
Synopsis
- logAt :: (MonadLog b, MonadBase b m) => Priority -> String -> m ()
- logDebug :: (MonadLog b, MonadBase b m) => String -> m ()
- logInfo :: (MonadLog b, MonadBase b m) => String -> m ()
- logNotice :: (MonadLog b, MonadBase b m) => String -> m ()
- logWarning :: (MonadLog b, MonadBase b m) => String -> m ()
- logError :: (MonadLog b, MonadBase b m) => String -> m ()
- logCritical :: (MonadLog b, MonadBase b m) => String -> m ()
- logAlert :: (MonadLog b, MonadBase b m) => String -> m ()
- logEmergency :: (MonadLog b, MonadBase b m) => String -> m ()
Logging function aliases for MonadBase
logAt :: (MonadLog b, MonadBase b m) => Priority -> String -> m () Source #
A monad that allows logging.
logWarning :: (MonadLog b, MonadBase b m) => String -> m () Source #
Log at warning level.
logCritical :: (MonadLog b, MonadBase b m) => String -> m () Source #
Log at critical level.
logEmergency :: (MonadLog b, MonadBase b m) => String -> m () Source #
Log at emergency level.