We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19023e7 commit cdf01f8Copy full SHA for cdf01f8
tailnet/conn.go
@@ -815,6 +815,7 @@ func (a addr) String() string { return a.ln.addr }
815
// Logger converts the Tailscale logging function to use slog.
816
func Logger(logger slog.Logger) tslogger.Logf {
817
return tslogger.Logf(func(format string, args ...any) {
818
+ slog.Helper()
819
logger.Debug(context.Background(), fmt.Sprintf(format, args...))
820
})
821
}
0 commit comments