interface
console.console.ConsoleOptions
interface ConsoleOptions
- colorMode?: boolean | 'auto'
Set color support for this
Consoleinstance. Setting to true enables coloring while inspecting values. Setting tofalsedisables coloring while inspecting values. Setting to'auto'makes color support depend on the value of theisTTYproperty and the value returned bygetColorDepth()on the respective stream. This option can not be used, ifinspectOptions.colorsis set as well. - inspectOptions?: InspectOptions | ReadonlyMap<WritableStream, InspectOptions>
Specifies options that are passed along to
util.inspect().