Module diagnostics

Module diagnostics 

Source

Structs§

CheckId
Identifies a single step
DiagCtx
Collects diagnostics from all tidy steps, and contains shared information that determines how should message and logs be presented.
DiagCtxInner 🔒
FinishedCheck
RunningCheck
Represents a single tidy check, identified by its name, running.

Constants§

COLOR_ERROR
COLOR_SUCCESS
COLOR_WARNING

Functions§

output_message
Output a message to stderr. The message can be optionally scoped to a certain check, and it can also have a certain color.