MCPcopy Create free account
hub / github.com/PasarGuard/node / emitLogf

Method emitLogf

backend/wireguard/log.go:35–37  ·  view source on GitHub ↗
(severity logSeverity, format string, args ...any)

Source from the content-addressed store, hash-verified

33}
34
35func (wg *WireGuard) emitLogf(severity logSeverity, format string, args ...any) {
36 wg.emitLog(severity, fmt.Sprintf(format, args...))
37}
38
39func (wg *WireGuard) emitLog(severity logSeverity, message string) {
40 wg.mu.RLock()

Callers 3

emitInfoLogfMethod · 0.95
emitWarningLogfMethod · 0.95
emitErrorLogfMethod · 0.95

Calls 1

emitLogMethod · 0.95

Tested by

no test coverage detected