Documentation
¶
Overview ¶
Package diagnostics renders safe typed events for the CLI-owned stderr presenter. Event definitions and emission remain in shared/diagnostics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Presenter ¶
type Presenter struct {
// contains filtered or unexported fields
}
Presenter renders typed events as safe text or one-line JSON records.
func NewPresenter ¶
NewPresenter creates a text presenter using the local clock.
func NewPresenterWithClock ¶
NewPresenterWithClock is deterministic-test friendly while preserving the production text rendering path.
func NewPresenterWithFormat ¶
NewPresenterWithFormat creates a presenter for the configured stderr format.