interface console.ConsoleConstructorOptions
Properties Jump to heading
Jump to headingstdout: WritableStreamoptional
Jump to headingstderr: WritableStream | undefinedoptional
Jump to headingignoreErrors: boolean | undefinedIgnore errors when writing to the underlying streams.
optional
Jump to headingcolorMode: boolean
| "auto"
| undefinedSet color support for this Console instance. Setting to true enables coloring while inspecting
values. Setting to false disables coloring while inspecting values. Setting to 'auto' makes color
support depend on the value of the isTTY property and the value returned by getColorDepth() on the
respective stream. This option can not be used, if inspectOptions.colors is set as well.
optional
Jump to headinginspectOptions: InspectOptions | undefinedSpecifies options that are passed along to
util.inspect().
optional
Jump to headinggroupIndentation: number | undefinedSet group indentation.