monad-logger-0.3.20.2: A class of monads which can log messages.

Safe HaskellSafe
LanguageHaskell98

Control.Monad.Logger.CallStack

Description

Log functions using CallStack support in place of Template Haskell

Since: 0.3.19

Synopsis

Documentation

logDebug :: (HasCallStack, MonadLogger m) => Text -> m () Source #

Logs a message with the location provided by an implicit CallStack.

Since: 0.3.19

logInfo :: (HasCallStack, MonadLogger m) => Text -> m () Source #

See logDebug

Since: 0.3.19

logWarn :: (HasCallStack, MonadLogger m) => Text -> m () Source #

See logDebug

Since: 0.3.19

logError :: (HasCallStack, MonadLogger m) => Text -> m () Source #

See logDebug

Since: 0.3.19