Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- interpretDataLogStderrWith :: Member (Embed IO) r => (a -> Text) -> InterpreterFor (DataLog a) r
- interpretDataLogStderr :: Show a => Member (Embed IO) r => InterpreterFor (DataLog a) r
- interpretLogStderrWith :: Members [Embed IO, GhcTime] r => (LogEntry LogMessage -> Text) -> InterpreterFor Log r
- interpretLogStderrLevelWith :: Members [Embed IO, GhcTime] r => (LogEntry LogMessage -> Text) -> Maybe Severity -> InterpreterFor Log r
- interpretLogStderr :: Members [Embed IO, GhcTime] r => InterpreterFor Log r
- interpretLogStderrLevel :: Members [Embed IO, GhcTime] r => Maybe Severity -> InterpreterFor Log r
- interpretLogStderr' :: Member (Embed IO) r => InterpreterFor Log r
- interpretLogStderrConc :: Members [Resource, Async, Race, Embed IO] r => InterpreterFor Log r
- interpretLogStderrLevelConc :: Members [Resource, Async, Race, Embed IO] r => Maybe Severity -> InterpreterFor Log r
Documentation
interpretDataLogStderrWith :: Member (Embed IO) r => (a -> Text) -> InterpreterFor (DataLog a) r Source #
interpretDataLogStderr :: Show a => Member (Embed IO) r => InterpreterFor (DataLog a) r Source #
interpretLogStderrWith :: Members [Embed IO, GhcTime] r => (LogEntry LogMessage -> Text) -> InterpreterFor Log r Source #
interpretLogStderrLevelWith :: Members [Embed IO, GhcTime] r => (LogEntry LogMessage -> Text) -> Maybe Severity -> InterpreterFor Log r Source #
Like interpretLogStderrWith
, but setting a log level.
Nothing
causes no messages to be logged.
interpretLogStderr :: Members [Embed IO, GhcTime] r => InterpreterFor Log r Source #
Interpret Log
by printing to stderr, using the default formatter.
Since this adds a timestamp, it has a dependency on GhcTime
.
Use interpretLogStderr'
for a variant that interprets GhcTime
in-place.
interpretLogStderrLevel :: Members [Embed IO, GhcTime] r => Maybe Severity -> InterpreterFor Log r Source #
Like interpretLogStderr
, but setting a log level.
Nothing
causes no messages to be logged.
interpretLogStderr' :: Member (Embed IO) r => InterpreterFor Log r Source #
interpretLogStderrConc :: Members [Resource, Async, Race, Embed IO] r => InterpreterFor Log r Source #
Like interpretLogStderr
, but process messages concurrently.
interpretLogStderrLevelConc :: Members [Resource, Async, Race, Embed IO] r => Maybe Severity -> InterpreterFor Log r Source #
Like interpretLogStderr
, but process messages concurrently.