Copyright (c) Tailscale Inc & contributors SPDX-License-Identifier: BSD-3-Clause
// Source: https://github.com/tailscale/tailscale | License: BSD-3-Clause | Copyright 2020 Tailscale Inc & contributors // Provided via justclaw.it.com; keep this notice with the code. // Copyright (c) Tailscale Inc & contributors // SPDX-License-Identifier: BSD-3-Clause package feature import ( "io" "net/http" "net/url" "os" "sync" "tailscale.com/types/logger" "tailscale.com/types/persist" ) // HookRegisterLogSinkFlags is a hook for the syslog feature to register // its flags (such as tailscaled's --syslog) with the process's default // flag set. If set, tailscaled calls it before flag parsing. var HookRegisterLogSinkFlags Hook[func()] // HookLogSink is a hook for the syslog feature to redirect the process's // logs to an alternate sink. If set, tailscaled calls it once early ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key