The implementation follows the CommonJS specification Console.
-
console.debug
-
console.error
-
console.info
-
console.log
-
console.warn
-
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.