ganeti
Safe HaskellNone

Ganeti.Logging.Lifted

Description

Ganeti logging functions expressed using MonadBase

This allows to use logging functions without having instances for all possible transformers.

Synopsis

Logging function aliases for MonadBase

logAt :: (MonadLog b, MonadBase b m) => Priority -> String -> m () Source #

A monad that allows logging.

logDebug :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at debug level.

logInfo :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at info level.

logNotice :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at notice level.

logWarning :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at warning level.

logError :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at error level.

logCritical :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at critical level.

logAlert :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at alert level.

logEmergency :: (MonadLog b, MonadBase b m) => String -> m () Source #

Log at emergency level.