Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/slog
/ Sync
Method
Sync
slog.go:31–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
type
Sink
interface
{
30
LogEntry(ctx context.Context, e SinkEntry)
31
Sync()
32
}
33
34
// Log logs the given entry with the context to the
Callers
5
Sync
Method · 0.65
Sync
Method · 0.65
Sync
Method · 0.65
TestMake
Function · 0.65
TestVisual
Function · 0.65
Implementers
5
fakeSink
slog_test.go
jsonSink
sloggers/slogjson/slogjson.go
stackdriverSink
sloggers/slogstackdriver/slogstackdriv
humanSink
sloggers/sloghuman/sloghuman.go
testSink
sloggers/slogtest/t.go
Calls
no outgoing calls
Tested by
2
TestMake
Function · 0.52
TestVisual
Function · 0.52