interface
console.ConsoleConstructorOptions
interface ConsoleConstructorOptions
- 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.