diagnostics_io library
The rolling log file sink for structured diagnostics. Needs dart:io.
Classes
- TomDiagnosticEvent
- One structured entry.
- TomDiagnosticNotice
- A finding that has to be both shown and logged.
- TomDiagnostics
- Where structured events go.
- TomFileDiagnostics
- Appends structured events to a rolling file.
- TomInMemoryDiagnostics
- A bounded in-memory sink.
- TomNullDiagnostics
- The sink a build that logs nowhere gets.
- TomStructuredFailure
- A failure that can say what it is without its text.
Enums
- TomDiagnosticLevel
- How much the reader is meant to care.
Functions
-
tomFailureFields(
Object error) → Map< String, Object> - The field map a failure is logged under: its type, and whatever it says about itself structurally (TomStructuredFailure). Never its text.