Skip to main content Link Search Menu Expand Document (external link)

The Console

Jancy comes with it’s own console. It’s not nearly as robust as the standard Javascript console.

There is only one console and it can always be found at jancy.console.

You can access the Jancy console from the Help menu (Help -> Jancy Console) or by entering the URL jancy://console in any tab.

Methods

log(message)

  • message (string)

Writes message to the console.

jancy.console.log('HELLO WORLD!')

trace(message, error)

  • message (string)
  • error (Error)

Write a stack trace preceeded by message to the console.

try {
  throw new Error('Woah')
} catch(e) {
  jancy.console.trace('You messed up buddy', e)
}