MCPcopy Create free account
hub / github.com/coder/slog / LogEntry

Method LogEntry

slog.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, e SinkEntry)

Source from the content-addressed store, hash-verified

28// All sinks must be safe for concurrent use.
29type Sink interface {
30 LogEntry(ctx context.Context, e SinkEntry)
31 Sync()
32}
33

Callers 2

LogMethod · 0.65

Implementers 5

fakeSinkslog_test.go
jsonSinksloggers/slogjson/slogjson.go
stackdriverSinksloggers/slogstackdriver/slogstackdriv
humanSinksloggers/sloghuman/sloghuman.go
testSinksloggers/slogtest/t.go

Calls

no outgoing calls

Tested by 1