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

Function Infof

base/log/input.go:122–126  ·  view source on GitHub ↗

Infof is used to log mildly significant events. Should be used to inform about somewhat bigger or user affecting events that happen.

(format string, things ...interface{})

Source from the content-addressed store, hash-verified

120
121// Infof is used to log mildly significant events. Should be used to inform about somewhat bigger or user affecting events that happen.
122func Infof(format string, things ...interface{}) {
123 if fastcheck(InfoLevel) {
124 log(InfoLevel, fmt.Sprintf(format, things...), nil)
125 }
126}
127
128// Warning is used to log (potentially) bad events, but nothing broke (even a little) and there is no need to panic yet.
129func Warning(msg string) {

Callers 15

startListenerFunction · 0.92
updateAndUpgradeMethod · 0.92
downloadArtifactsMethod · 0.92
upgradeMoveFilesMethod · 0.92
canBeUpgradedFunction · 0.92
prepareMethod · 0.92
getMethod · 0.92
updateOnlineStatusFunction · 0.92
saveResponseFunction · 0.92
inspectDNSPacketFunction · 0.92

Calls 2

fastcheckFunction · 0.85
logFunction · 0.85

Tested by 1

TestLoggingFunction · 0.68