tailscale/logpolicy
Andrew Dunham 60ab8089ff logpolicy, various: allow overriding log function
This allows sending logs from the "logpolicy" package (and associated
callees) to something other than the log package. The behaviour for
tailscaled remains the same, passing in log.Printf

Updates #8249

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ie1d43b75fa7281933d9225bffd388462c08a5f31
2023-07-10 18:08:50 -04:00
..
logpolicy_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
logpolicy.go logpolicy, various: allow overriding log function 2023-07-10 18:08:50 -04:00