Fields

stdout:IWritable

stdout is a writable stream to print log or info output.

@optionalstderr:IWritable

stderr is used for warning or error output. If stderr is not provided, stdout is used for stderr.

@optionalinspectOptions:InspectOptions

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

@optionalignoreErrors:Bool

Ignore errors when writing to the underlying streams. Default: true.

@optionalcolorMode:EitherType<Bool, String>

Set color support for this Console instance. Setting to true enables coloring while inspecting values, setting to 'auto' will make 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. Default: 'auto'.