jsconsole

Wrapper for the console object for the JavaScript backend.

Types

Console {...}{.importc.} = ref object of RootObj
  Source Edit

Procs

proc convertToConsoleLoggable[T](v: T): RootRef {...}{.importcpp: "#".}
  Source Edit

Macros

macro log(console: Console; args: varargs[RootRef, convertToConsoleLoggable]): untyped
  Source Edit
macro debug(console: Console; args: varargs[RootRef, convertToConsoleLoggable]): untyped
  Source Edit
macro info(console: Console; args: varargs[RootRef, convertToConsoleLoggable]): untyped
  Source Edit
macro error(console: Console; args: varargs[RootRef, convertToConsoleLoggable]): untyped
  Source Edit