Module
Bonsai.Debug
- Package
- purescript-bonsai
- Repository
- grmble/purescript-bonsai
Heaviliy inspirec by purescript-debug
#StartTiming Source
newtype StartTiming
#debugTiming Source
debugTiming :: forall eff. Boolean -> String -> StartTiming -> Eff (bonsai :: BONSAI | eff) Unit
Log timing if in debug mode
#logJsonObj Source
logJsonObj :: forall a eff. String -> a -> Eff (bonsai :: BONSAI | eff) Unit
Log a message, JSON.stringify and the object to the console.
#startTiming Source
startTiming :: forall eff. Eff (bonsai :: BONSAI | eff) StartTiming
Obtain a start time for timing function execution