(format string, args ...any)
| 29 | } |
| 30 | |
| 31 | func (wg *WireGuard) emitErrorLogf(format string, args ...any) { |
| 32 | wg.emitLogf(logSeverityError, format, args...) |
| 33 | } |
| 34 | |
| 35 | func (wg *WireGuard) emitLogf(severity logSeverity, format string, args ...any) { |
| 36 | wg.emitLog(severity, fmt.Sprintf(format, args...)) |