feat(netlink): add debug logger
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user