diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-06 18:59:53 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-06 18:59:53 +0100 |
| commit | a2f9a000e635876126ab41a7969973a8f03a109a (patch) | |
| tree | 0b2711c31ebc27d7f03503139ee7fc59fd24b686 | |
| parent | ce37d9da1a4197c9f983cefe517cfc895681175c (diff) | |
Client Proxy: Prefix Proxyguard logs with [Proxyguard]
| -rw-r--r-- | client/proxy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/proxy.go b/client/proxy.go index 60bf980..4f87a3f 100644 --- a/client/proxy.go +++ b/client/proxy.go @@ -12,12 +12,12 @@ type ProxyLogger struct{} // Logf logs a message with parameters func (pl *ProxyLogger) Logf(msg string, params ...interface{}) { - log.Logger.Debugf(msg, params...) + log.Logger.Debugf("[Proxyguard] "+msg, params...) } // Log logs a message func (pl *ProxyLogger) Log(msg string) { - log.Logger.Debugf("%s", msg) + log.Logger.Debugf("[Proxyguard] %s", msg) } // StartProxyguard starts proxyguard for proxied WireGuard connections |
