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

@@ -1,7 +1,11 @@
package netlink
type NetLink struct{}
func New() *NetLink {
return &NetLink{}
type NetLink struct {
debugLogger DebugLogger
}
func New(debugLogger DebugLogger) *NetLink {
return &NetLink{
debugLogger: debugLogger,
}
}