Module

FFI.Util.Log

Package
purescript-ffi-utils
Repository
Risto-Stevcev/purescript-ffi-utils

#logAny Source

logAny :: forall e a. a -> Eff (console :: CONSOLE | e) Unit

Logs any kind of object

#logObject Source

logObject :: forall r e. Record r -> Eff (console :: CONSOLE | e) Unit

Like logAny except restricted to records

#logStringify Source

logStringify :: forall r e. Record r -> Eff (console :: CONSOLE, err :: EXCEPTION | e) Unit

Stringifies and pretty prints the object before logging it