menu

FormatOptions

import { FormatOptions } from "destack:debug";

Debug formatting options.

language/library/src/debug/format.ds:4:16
1export struct FormatOptions {2    depth: uint32 | null;3    colors: boolean;4    maxArrayLength: usize;5    maxStringLength: usize;6}

Members

depth: uint32 | null

Maximum depth for recursive formatting.

colors: boolean

Enable ANSI color output.

maxArrayLength: usize

Maximum array length before truncation.

maxStringLength: usize

Maximum string length before truncation.