deno.com

interface console.ConsoleConstructorOptions

Properties #

#stdout: WritableStream
#stderr: WritableStream | undefined
optional
#ignoreErrors: boolean | undefined
optional

Ignore errors when writing to the underlying streams.

#colorMode:
boolean
| "auto"
| undefined
optional

Set 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.

#inspectOptions: InspectOptions | undefined
optional

Specifies options that are passed along to util.inspect().

#groupIndentation: number | undefined
optional

Set group indentation.