mirror of https://github.com/tailscale/tailscale/
types/logger: add Context and related helpers
We often need both a log function and a context. We can do this by adding the log function as a context value. This commit adds helper glue to make that easy. It is designed to allow incremental adoption. Updates tailscale/corp#3138 Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>pull/3465/head
parent
f93cf6fa03
commit
deb2f5e793
Loading…
Reference in New Issue