feat(netlink): add debug logger

This commit is contained in:
Quentin McGaw
2022-12-02 11:26:52 +00:00
parent 03ed3cb1c8
commit 74426f6202
3 changed files with 15 additions and 5 deletions

View File

@@ -77,7 +77,8 @@ func main() {
args := os.Args
tun := tun.New()
netLinker := netlink.New()
netLinkDebugLogger := logger.New(log.SetComponent("netlink"))
netLinker := netlink.New(netLinkDebugLogger)
cli := cli.New()
cmder := command.NewCmder()