Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/slog
/ Sync
Method
Sync
slog.go:52–56 ·
view source on GitHub ↗
Sync calls Sync on all the underlying sinks.
()
Source
from the content-addressed store, hash-verified
50
51
// Sync calls Sync on all the underlying sinks.
52
func
(l Logger) Sync() {
53
for
_, s :=
range
l.sinks {
54
s.Sync()
55
}
56
}
57
58
// Logger wraps Sink with a nice API to log entries.
59
//
Callers
3
Error
Method · 0.95
Critical
Method · 0.95
Fatal
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected