Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains some shortcut functions that can be of use in simple usage cases.
Synopsis
- reportError :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m ()
- warning :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m ()
- info :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m ()
- debug :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m ()
- errorMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage
- warnMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage
- infoMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage
- debugMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage
Log a message
reportError :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m () Source #
Log error message. Note: this message will not contain source information.
warning :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m () Source #
Log warning message. Note: this message will not contain source information.
info :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m () Source #
Log info message. Note: this message will not contain source information.
debug :: forall m vars. (ClosedVarContainer vars, MonadIO m, HasLogging m) => Text -> vars -> m () Source #
Log debug message. Note: this message will not contain source information.
Creating a message
errorMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage Source #
Message stub with Error severity.
warnMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage Source #
Message stub with Warning severity.
infoMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage Source #
Message stub with Info severity.
debugMessage :: ClosedVarContainer vars => Text -> vars -> LogMessage Source #
Message stub with Debug severity.