OptionalcolorsOptionaldateOptions to use when formatting timestamps. Defaults to:
{
year: "numeric",
month: "2-digit",
day: "2-digit",
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
fractionalSecondDigits: 3,
timeZoneName: "shortOffset",
}
If set to null, the timestamp will be formatted in ISO 8601 format.
OptionalindentationThe indentation to use when required. Defaults to two spaces.
OptionalmetadataOptions to use when inspecting metadata Defaults to { compact: true, breakLength: Infinity }
Note: The colors option will be overridden by the colors option of
this object.
OptionalprintWhether to print metadata when available. Defaults to false.
OptionalthemeThe theme to use for coloring the output.
Whether to use colors in the output. Defaults is 'true'
This also set the
colorsoption inmetadataInspectOptions.Note: If the output/error stream is not a TTY, colors will be disabled regardless of this setting.