MCPcopy
hub / github.com/opencontainers/runc / logrusToStderr

Function logrusToStderr

utils.go:49–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49func logrusToStderr() bool {
50 l, ok := logrus.StandardLogger().Out.(*os.File)
51 return ok && l.Fd() == os.Stderr.Fd()
52}
53
54// fatal prints the error's details if it is a libcontainer specific error type
55// then exits the program with an exit status of 1.

Callers 2

fatalWithCodeFunction · 0.85
WriteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…