Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Message = Message {
- msgSeverity :: !Severity
- msgStack :: !CallStack
- msgText :: !Text
- showSeverity :: Severity -> Text
- showSourceLoc :: CallStack -> Text
- fmtRichMessageDefault :: Message -> IO Text
- logByteStringStdout :: LogAction IO ByteString
- richMessageAction :: LogAction IO Message
- log :: HasCallStack => Member (Log Message) r => Severity -> Text -> Sem r ()
- interpretLogNull :: InterpreterFor Log r
- runCologStdout :: Member (Embed IO) r => InterpreterFor (Log Message) r
- toColog :: HasCallStack => Member (Log Message) r => Sem (Log ': r) a -> Sem r a
- interpretLogStdout :: Member (Embed IO) r => Sem (Log ': r) a -> Sem r a
Documentation
showSeverity :: Severity -> Text Source #
showSourceLoc :: CallStack -> Text Source #
logByteStringStdout :: LogAction IO ByteString Source #
richMessageAction :: LogAction IO Message Source #
interpretLogNull :: InterpreterFor Log r Source #
No-op interpreter for Log
runCologStdout :: Member (Embed IO) r => InterpreterFor (Log Message) r Source #