feat(wireguard): add debug logs for IPv6 detection

- To debug issue #998
- Enable with `LOG_LEVEL=debug`
This commit is contained in:
Quentin McGaw
2022-05-27 16:56:20 +00:00
parent eb71cfb144
commit 7fd45cf17f
6 changed files with 55 additions and 16 deletions

View File

@@ -15,9 +15,9 @@ func Test_makeDeviceLogger(t *testing.T) {
deviceLogger := makeDeviceLogger(logger)
logger.EXPECT().Debug("test 1")
logger.EXPECT().Debugf("test %d", 1)
deviceLogger.Verbosef("test %d", 1)
logger.EXPECT().Error("test 2")
logger.EXPECT().Errorf("test %d", 2)
deviceLogger.Errorf("test %d", 2)
}