Module
Logger
- Package
- erl-logger
- Repository
- id3as/purescript-erl-logger
#emergency Source
emergency :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#alert Source
alert :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#critical Source
critical :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#error Source
error :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#warning Source
warning :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#notice Source
notice :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#info Source
info :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#debug Source
debug :: forall metadata report. MinimalMetadata metadata -> Record report -> Effect Unit
#spy Source
spy :: forall a. SpyWarning => String -> a -> a
#traceMetadata Source
traceMetadata :: List Atom -> String -> BasicMetadata
#commandMetadata Source
commandMetadata :: forall commandType. List Atom -> commandType -> String -> CommandMetadata commandType
#eventMetadata Source
eventMetadata :: forall eventType. List Atom -> eventType -> String -> EventMetadata eventType
#logLevelToErl Source
logLevelToErl :: LogLevel -> Atom
#MinimalMetadata Source
type MinimalMetadata :: Row Type -> Type
type MinimalMetadata a = { domain :: List Atom, type :: LogType | a }
#BasicMetadata Source
type BasicMetadata = MinimalMetadata (text :: String)
#EventMetadata Source
type EventMetadata eventType = MinimalMetadata (event :: eventType, text :: String)
#CommandMetadata Source
type CommandMetadata commandType = MinimalMetadata (command :: commandType, text :: String)
- Modules
- Logger