type Logger struct {
DeviceLogger *device.Logger// contains filtered or unexported fields
}
A Logger is a wireguard-go log wrapper that cleans up and rewrites log lines.
It can be modified at run time to adjust to new wireguard-go configurations.
NewLogger creates a new logger for use with wireguard-go.
This logger silences repetitive/unhelpful noisy log lines
and rewrites peer keys from wireguard-go into Tailscale format.