MCPcopy
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
42func 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)
49func Exit(code int) {

Callers 4

TestRegisterFunction · 0.85
TestDeferFunction · 0.85
ExitMethod · 0.85
ExitFunction · 0.85

Calls 1

runHandlerFunction · 0.85

Tested by 2

TestRegisterFunction · 0.68
TestDeferFunction · 0.68