Module

Control.Logger.Journald

Package
purescript-logging-journald
Repository
paluh/purescript-logging-journald

#logger Source

logger :: forall fields m. MonadEffect m => Journald -> JournaldLogger m fields

#logger' Source

logger' :: forall fields m. MonadEffect m => m Journald -> m (JournaldLogger m fields)

Re-exports from Control.Logger.Journald.Types

#LogEntry Source

type LogEntry :: Row Type -> Typetype LogEntry fields = { fields :: Record fields, level :: Level, message :: String }

#JournaldLogger Source

type JournaldLogger :: (Type -> Type) -> Row Type -> Typetype JournaldLogger m fields = Logger m (LogEntry fields)

Re-exports from Node.Systemd.Journald

#Journald Source

#warning Source

warning :: forall a. Journald -> String -> Record a -> Effect Unit

#notice Source

notice :: forall a. Journald -> String -> Record a -> Effect Unit

#info Source

info :: forall a. Journald -> String -> Record a -> Effect Unit

#err Source

err :: forall a. Journald -> String -> Record a -> Effect Unit

#emerg Source

emerg :: forall a. Journald -> String -> Record a -> Effect Unit

#debug Source

debug :: forall a. Journald -> String -> Record a -> Effect Unit

#crit Source

crit :: forall a. Journald -> String -> Record a -> Effect Unit

#alert Source

alert :: forall a. Journald -> String -> Record a -> Effect Unit