polysemy-http-0.3.1.0: Polysemy effect for http-client
Safe HaskellNone
LanguageHaskell2010

Polysemy.Http.Log

Synopsis

Documentation

data Message Source #

Constructors

Message 

Fields

showSeverity :: Severity -> Text Source #

log :: HasCallStack => Member (Log Message) r => Severity -> Text -> Sem r () Source #

interpretLogNull :: InterpreterFor Log r Source #

No-op interpreter for Log

toColog :: HasCallStack => Member (Log Message) r => Sem (Log ': r) a -> Sem r a Source #

interpretLogStdout :: Member (Embed IO) r => Sem (Log ': r) a -> Sem r a Source #

Default interpreter for Log that uses Log to print to stdout