Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sirupsen/logrus
/ runHandlers
Function
runHandlers
alt_exit.go:42–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
func
runHandlers() {
43
for
_, handler :=
range
handlers {
44
runHandler(handler)
45
}
46
}
47
48
// Exit runs all the Logrus atexit handlers and then terminates the program using os.Exit(code)
49
func
Exit(code int) {
Callers
4
TestRegister
Function · 0.85
TestDefer
Function · 0.85
Exit
Method · 0.85
Exit
Function · 0.85
Calls
1
runHandler
Function · 0.85
Tested by
2
TestRegister
Function · 0.68
TestDefer
Function · 0.68