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
  • conditionboolean

  • messageany

  • dataany []

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
  • labelundefined | string

Returns

void

genvidConsole.error(message, optionalParams)

log an error to the console.

New in version 1.16.0.

Arguments
  • messageany

  • optionalParamsany []

Returns

void

genvidConsole.info(message, optionalParams)

log information to the console.

New in version 1.16.0.

Arguments
  • messageany

  • optionalParamsany []

Returns

void

genvidConsole.log(message, optionalParams)

log a message to the console.

New in version 1.16.0.

Arguments
  • messageany

  • optionalParamsany []

Returns

void

genvidConsole.time(label)

Start a timer to log.

New in version 1.16.0.

Arguments
  • labelstring

Returns

void

genvidConsole.timeEnd(label)

End a timer.

New in version 1.16.0.

Arguments
  • labelstring

Returns

void

genvidConsole.trace(message, optionalParams)

log trace to the console.

New in version 1.16.0.

Arguments
  • messageany

  • optionalParamsany []

Returns

void

genvidConsole.warn(message, optionalParams)

log a warning to the console.

New in version 1.16.0.

Arguments
  • messageany

  • optionalParamsany []

Returns

void