@hackage polysemy-log-di0.1.0.0

polysemy-log interpreter for di

About

The di adapter for polysemy-log.

import Polysemy.Log
import Polysemy.Log.Di

prog :: Member Log r => Sem r ()
prog = do
  Log.debug "debugging"
  Log.error "failing"

interpretLogDi prog :: Sem [Di.Di Severity path (LogEntry LogMessage), Embed IO] ()
interpretLogStdout prog :: Sem '[Embed IO] ()

For more documentation, please consult Hackage: