# jsconsole

Dark Mode

- Manual
- Standard library
- Index

Search:
Group by:

Wrapper for the `console` object for the JavaScript backend.

# Types

    Console = ref object of RootObj

  Source Edit

# Vars

    console: Console

  Source Edit

# Procs

    proc log(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/log Source Edit

    proc debug(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/debug Source Edit

    proc info(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/info Source Edit

    proc error(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/error Source Edit

    proc trace(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/trace Source Edit

    proc warn(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/warn Source Edit

    proc clear(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/clear Source Edit

    proc count(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/count Source Edit

    proc countReset(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/countReset Source Edit

    proc group(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/group Source Edit

    proc groupCollapsed(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/en-US/docs/Web/API/Console/groupCollapsed Source Edit

    proc groupEnd(console: Console) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/groupEnd Source Edit

    proc time(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/time Source Edit

    proc timeEnd(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/timeEnd Source Edit

    proc timeLog(console: Console; label = "".cstring) {...}{.importcpp.}

  https://developer.mozilla.org/docs/Web/API/Console/timeLog Source Edit

    proc table(console: Console) {...}{.importcpp, varargs.}

  https://developer.mozilla.org/docs/Web/API/Console/table Source Edit

# Templates

    template exception(console: Console; args: varargs[untyped])

  Alias for `console.error()`. Source Edit