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