MCPcopy
hub / github.com/google/gvisor / Emitter

Interface Emitter

pkg/log/log.go:81–85  ·  view source on GitHub ↗

Emitter is the final destination for logs.

Source from the content-addressed store, hash-verified

79
80// Emitter is the final destination for logs.
81type Emitter interface {
82 // Emit emits the given log statement. This allows for control over the
83 // timestamp used for logging.
84 Emit(depth int, level Level, timestamp time.Time, format string, v ...any)
85}
86
87// Writer writes the output to the given writer.
88type Writer struct {

Callers

nothing calls this directly

Implementers 6

multiEmitterpkg/eventchannel/event.go
socketEmitterpkg/eventchannel/event.go
debugEmitterpkg/eventchannel/event.go
rateLimitedEmitterpkg/eventchannel/rate.go
testEmitterpkg/eventchannel/event_test.go
compatEmitterrunsc/boot/compat.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…