Module

Effect.Console

#log

log :: String -> Effect Unit

Write a message to the console.

#logShow

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

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

#warn

warn :: String -> Effect Unit

Write an warning to the console.

#warnShow

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

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

#error

error :: String -> Effect Unit

Write an error to the console.

#errorShow

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

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

#info

info :: String -> Effect Unit

Write an info message to the console.

#infoShow

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

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

#debug

debug :: String -> Effect Unit

Write an debug message to the console.

#debugShow

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

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

#time

time :: String -> Effect Unit

Start a named timer.

#timeLog

timeLog :: String -> Effect Unit

Print the time since a named timer started in milliseconds.

#timeEnd

timeEnd :: String -> Effect Unit

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

#clear

clear :: Effect Unit

Clears the console

Modules