MCPcopy Index your code
hub / github.com/coder/coder / Sync

Method Sync

coderd/tracing/slog.go:45–45  ·  view source on GitHub ↗

Sync implements slog.Sink. No-op as syncing is handled externally by otel.

()

Source from the content-addressed store, hash-verified

43
44// Sync implements slog.Sink. No-op as syncing is handled externally by otel.
45func (SlogSink) Sync() {}
46
47func slogFieldsToAttributes(m slog.Map) []attribute.KeyValue {
48 attrs := make([]attribute.KeyValue, 0, len(m))

Callers 2

Test_SlogSinkFunction · 0.95
TestMeasureLatencyFunction · 0.45

Calls

no outgoing calls

Tested by 2

Test_SlogSinkFunction · 0.76
TestMeasureLatencyFunction · 0.36