You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tsnet
Maisem Ali 486a423716 tsnet: split user facing and backend logging
This adds a new `UserLogf` field to the `Server` struct.
When set this any logs generated by Server are logged using
`UserLogf` and all spammy backend logs are logged to `Logf`.

If it `UserLogf` is unset, we default to `log.Printf` and
if `Logf` is unset we discard all the spammy logs.

Fixes #12094

Signed-off-by: Maisem Ali <maisem@tailscale.com>
6 months ago
..
example tsnet: split user facing and backend logging 6 months ago
example_tshello_test.go tsnet: add examples (#8289) 1 year ago
example_tsnet_test.go tsnet: split user facing and backend logging 6 months ago
tsnet.go tsnet: split user facing and backend logging 6 months ago
tsnet_test.go tsnet: split user facing and backend logging 6 months ago