Skip to main content

console_format

Function console_format 

Source
pub fn console_format(values: &[Value]) -> String
Expand description

What console.log(...values) prints: strings as they are, other values as util.inspect shows them, joined by spaces. Format specifiers such as %s are not interpreted, and nested values print in the single-line form Node uses when they fit in 80 columns.