Skip to content

Lugendre/rio-log-effectful

Repository files navigation

rio-log-effectful

Logger like RIO for Effectful

Examples

import RIO (stderr)
import Effectful
import Effectful.Log.Static

main :: IO ()
main = do
  let isVerbose = True
  logOptions <- logOptionsHandle stderr isVerbose
  runEff $ runLog logOptions $ do
    logDebug "Debug message"
    logInfo "Info message"
    logWarn "Warn message"
    logError "Error message"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published