arango.console
error
(error format & args)
Formats the arguments according to format and logs the result as an error message.
group
(group format & args)
Formats the arguments according to format and logs the result as log message.
Opens a nested block to indent all future messages sent. Call group-end
to close the block. Representation of block is up to the platform, it can be an interactive block or just a set of indented sub messages.
group-end
(group-end format & args)
Stops a timer created by a call to time and logs the time elapsed.
info
(info format & args)
Formats the arguments according to format and logs the result as an info message.
String substitution patterns, which can be used in format
argument of info
, error
and warn
.
%%s
: string%%d
,%%i
: integer%%f
: floating point number%%o
: object hyperlink
time
(time timer-name)
Creates a new timer under the given name. Call time-end with the same name to stop the timer and log the time elapsed.
time-end
(time-end timer-name)
Stops a timer created by a call to time and logs the time elapsed.
warn
(warn format & args)
Formats the arguments according to format and logs the result as a warning message.