Static variables

staticcolors:DynamicAccess<Array<Int>>

The predefined color codes are: white, grey, black, blue, cyan, green, magenta, red and yellow.

staticfinalread onlycustom:Symbol

In addition to being accessible through util.inspect.custom, this symbol is registered globally and can be accessed in any environment as Symbol.for('nodejs.util.inspect.custom').

See also:

staticdefaultOptions:InspectOptions

The defaultOptions value allows customization of the default options used by util.inspect.

See also:

staticstyles:DynamicAccess<String>

util.inspect.styles is a map associating a style name to a color from util.inspect.colors properties.

See also:

Static methods

@:selfCallstaticinspect(object:Dynamic, ?options:Null<InspectOptions>):String

@:selfCallstaticinspect(object:Dynamic, ?showHidden:Bool, ?depth:Int, ?colors:Bool):String

The util.inspect() method returns a string representation of object that is intended for debugging.

See also: