ArangoDB

Module "console"

The implementation follows the CommonJS specification Console.


  1. console.debug
  2. console.error
  3. console.info
  4. console.log
  5. console.warn
  6. console.getline


console.debug(format, argument1, ...)
Formats the arguments according to format and logs the result as debug message.

String substitution patterns, which can be used in format.

  • %s string
  • %d, %i integer
  • %f floating point number
  • %o object hyperlink


console.error(format, argument1, ...)
Formats the arguments according to format and logs the result as error message.



console.info(format, argument1, ...)
Formats the arguments according to format and logs the result as info message.



console.log(format, argument1, ...)
Formats the arguments according to format and logs the result as log message.



console.warn(format, argument1, ...)
Formats the arguments according to format and logs the result as warn message.



console.getline()
Reads in a line from the console.