A builder that provides formatting options for each path element.
Diagnostic summary format, with optional maximum length for truncation.
Flat diagnostic format (single line), with optional maximum length for truncation.
A builder that provides formatting options for each path element.