Module

Effect.Console

Package
purescript-console
Repository
purescript/purescript-console

#log Source

log :: String -> Effect Unit

Write a message to the console.

#logShow Source

logShow :: forall a. Show a => a -> Effect Unit

Write a value to the console, using its Show instance to produce a String.

#warn Source

warn :: String -> Effect Unit

Write an warning to the console.

#warnShow Source

warnShow :: forall a. Show a => a -> Effect Unit

Write an warning value to the console, using its Show instance to produce a String.

#error Source

error :: String -> Effect Unit

Write an error to the console.

#errorShow Source

errorShow :: forall a. Show a => a -> Effect Unit

Write an error value to the console, using its Show instance to produce a String.

#info Source

info :: String -> Effect Unit

Write an info message to the console.

#infoShow Source

infoShow :: forall a. Show a => a -> Effect Unit

Write an info value to the console, using its Show instance to produce a String.

#time Source

time :: String -> Effect Unit

Start a named timer.

#timeLog Source

timeLog :: String -> Effect Unit

Print the time since a named timer started in milliseconds.

#timeEnd Source

timeEnd :: String -> Effect Unit

Stop a named timer and print time since it started in milliseconds.

#clear Source

clear :: Effect Unit

Clears the console