Documentation
¶
Overview ¶
Package diagnostics persists bounded structured logs and exports local runtime diagnostics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MediaLogger ¶
func PionLoggerFactory ¶
func PionLoggerFactory(fields ...any) logging.LoggerFactory
func ReplaceAttr ¶
ReplaceAttr applies the same secret policy to application and dependency records.
Types ¶
type LineWriter ¶
type LineWriter struct {
// contains filtered or unexported fields
}
LineWriter turns dependency stderr into bounded records without writing on the TUI.
func Writer ¶
func Writer(scope string) *LineWriter
func (*LineWriter) Close ¶
func (writer *LineWriter) Close() error
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func Open ¶
Open appends to the component's current log, retaining one rotated backup. Callers own the directory choice and must pass sanitized structured events.
func (*Recorder) Binary ¶
Binary records only the identity of an explicitly selected runtime executable.
func (*Recorder) Close ¶
Close waits for an export already in progress. It is safe to call repeatedly.
func (*Recorder) Context ¶
Context snapshots explicitly selected startup facts; it never reads environment files.