MCPcopy 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.
52func (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

ErrorMethod · 0.95
CriticalMethod · 0.95
FatalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected