MCPcopy
hub / github.com/safing/portmaster / Debug

Function Debug

base/log/input.go:101–105  ·  view source on GitHub ↗

Debug is used to log minor errors or unexpected events. These occurrences are usually not worth mentioning in itself, but they might hint at a bigger problem.

(msg string)

Source from the content-addressed store, hash-verified

99
100// Debug is used to log minor errors or unexpected events. These occurrences are usually not worth mentioning in itself, but they might hint at a bigger problem.
101func Debug(msg string) {
102 if fastcheck(DebugLevel) {
103 log(DebugLevel, msg, nil)
104 }
105}
106
107// Debugf is used to log minor errors or unexpected events. These occurrences are usually not worth mentioning in itself, but they might hint at a bigger problem.
108func Debugf(format string, things ...interface{}) {

Callers 9

startFunction · 0.92
GetInternetLocationFunction · 0.92
startFunction · 0.92
maintainPublicIdentityFunction · 0.92
maintainPublicStatusFunction · 0.92
measureHubsMethod · 0.92
updateAPIKeysFunction · 0.92
TestLoggingFunction · 0.85

Calls 2

fastcheckFunction · 0.85
logFunction · 0.85

Tested by 1

TestLoggingFunction · 0.68