Module

Yoga.Pino

Package
purescript-yoga-pino
Repository
rowtype-yoga/purescript-yoga-pino

#Logger Source

data Logger

#LoggerOptions Source

type LoggerOptions = { level :: String, transport :: { options :: { colorize :: Boolean }, target :: String } }

#infoWithImpl Source

infoWithImpl :: forall r. Fn2 Logger { msg :: String | r } (Effect Unit)

#debugWithImpl Source

debugWithImpl :: forall r. Fn2 Logger { msg :: String | r } (Effect Unit)

#warnWithImpl Source

warnWithImpl :: forall r. Fn2 Logger { msg :: String | r } (Effect Unit)

#errorWithImpl Source

errorWithImpl :: forall r. Fn2 Logger { msg :: String | r } (Effect Unit)

#infoWithContextImpl Source

#debugWithContextImpl Source

#warnWithContextImpl Source

#errorWithContextImpl Source

#info Source

info :: forall m. MonadEffect m => Logger -> String -> m Unit

#debug Source

debug :: forall m. MonadEffect m => Logger -> String -> m Unit

#warn Source

warn :: forall m. MonadEffect m => Logger -> String -> m Unit

#error Source

error :: forall m. MonadEffect m => Logger -> String -> m Unit

#infoWith Source

infoWith :: forall m r. MonadEffect m => Logger -> { msg :: String | r } -> m Unit

#debugWith Source

debugWith :: forall m r. MonadEffect m => Logger -> { msg :: String | r } -> m Unit

#warnWith Source

warnWith :: forall m r. MonadEffect m => Logger -> { msg :: String | r } -> m Unit

#errorWith Source

errorWith :: forall m r. MonadEffect m => Logger -> { msg :: String | r } -> m Unit

#infoWithContext Source

infoWithContext :: forall m r. MonadEffect m => Logger -> String -> Record r -> m Unit

#debugWithContext Source

debugWithContext :: forall m r. MonadEffect m => Logger -> String -> Record r -> m Unit

#warnWithContext Source

warnWithContext :: forall m r. MonadEffect m => Logger -> String -> Record r -> m Unit

#errorWithContext Source

errorWithContext :: forall m r. MonadEffect m => Logger -> String -> Record r -> m Unit