MCPcopy Index your code
hub / github.com/coder/slog / stackdriverSink

Struct stackdriverSink

sloggers/slogstackdriver/slogstackdriver.go:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47type stackdriverSink struct {
48 projectID string
49 w *syncwriter.Writer
50}
51
52func (s stackdriverSink) LogEntry(ctx context.Context, ent slog.SinkEntry) {
53 // Note that these documents are inconsistent, so we only use the special

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected