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

#addLoggerContext Source

#commandMetadata Source

commandMetadata :: forall commandType. List Atom -> commandType -> String -> CommandMetadata commandType

#eventMetadata Source

eventMetadata :: forall eventType. List Atom -> eventType -> String -> EventMetadata eventType

#genericMetadata Source

genericMetadata :: forall metadata. Lacks "domain" metadata => Lacks "type" metadata => Lacks "text" metadata => List Atom -> LogType -> String -> Record metadata -> MinimalMetadata (text :: String | metadata)

#logLevelToErl Source

#LogType Source

#MinimalMetadata Source

type MinimalMetadata :: Row Type -> Typetype MinimalMetadata a = { domain :: List Atom, type :: LogType | a }

#BasicMetadata Source

#EventMetadata Source

type EventMetadata eventType = MinimalMetadata (event :: eventType, text :: String)

#CommandMetadata Source

type CommandMetadata commandType = MinimalMetadata (command :: commandType, text :: String)

#SpyWarning Source

class SpyWarning 

Instances

Modules
Logger