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

Function Trace

base/log/input.go:87–91  ·  view source on GitHub ↗

Trace is used to log tiny steps. Log traces to context if you can!

(msg string)

Source from the content-addressed store, hash-verified

85
86// Trace is used to log tiny steps. Log traces to context if you can!
87func Trace(msg string) {
88 if fastcheck(TraceLevel) {
89 log(TraceLevel, msg, nil)
90 }
91}
92
93// Tracef is used to log tiny steps. Log traces to context if you can!
94func Tracef(format string, things ...interface{}) {

Callers 2

loadResolversFunction · 0.92
TestLoggingFunction · 0.85

Calls 2

fastcheckFunction · 0.85
logFunction · 0.85

Tested by 1

TestLoggingFunction · 0.68