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

Method SetExit

export_test.go:3–5  ·  view source on GitHub ↗
(fn func(int))

Source from the content-addressed store, hash-verified

1package slog
2
3func (l *Logger) SetExit(fn func(int)) {
4 l.exit = fn
5}

Callers 1

TestLoggerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected