genvidConsole

Functions

genvidConsole.assert(condition, message, data)

Log a trace and display a message if condition is false.

New in version 1.16.0.

Arguments:
  • condition – boolean
  • message – any
  • data – any []
Returns:

void

genvidConsole.clear()

Clear the console.

New in version 1.16.0.

Returns:void
genvidConsole.count(label)

Log number of time this line get called.

New in version 1.16.0.

Arguments:
  • label – string
Returns:

void

genvidConsole.error(message, optionalParams)

log an error to the console.

New in version 1.16.0.

Arguments:
  • message – any
  • optionalParams – any []
Returns:

void

genvidConsole.info(message, optionalParams)

log information to the console.

New in version 1.16.0.

Arguments:
  • message – any
  • optionalParams – any []
Returns:

void

genvidConsole.log(message, optionalParams)

log a message to the console.

New in version 1.16.0.

Arguments:
  • message – any
  • optionalParams – any []
Returns:

void

genvidConsole.time(label)

Start a timer to log.

New in version 1.16.0.

Arguments:
  • label – string
Returns:

void

genvidConsole.timeEnd(label)

End a timer.

New in version 1.16.0.

Arguments:
  • label – string
Returns:

void

genvidConsole.trace(message, optionalParams)

log trace to the console.

New in version 1.16.0.

Arguments:
  • message – any
  • optionalParams – any []
Returns:

void

genvidConsole.warn(message, optionalParams)

log a warning to the console.

New in version 1.16.0.

Arguments:
  • message – any
  • optionalParams – any []
Returns:

void