package osdiag
import "tailscale.com/util/osdiag"
Package osdiag provides loggers for OS-specific diagnostic information.
Index ¶
Functions ¶
func SupportInfo ¶
func SupportInfo(reason LogSupportInfoReason) map[string]any
SupportInfo obtains OS-specific diagnostic information for troubleshooting and support. The reason governs the verbosity of the output.
Types ¶
type LogSupportInfoReason ¶
type LogSupportInfoReason int
LogSupportInfoReason is an enumeration indicating the reason for logging support info.
const ( LogSupportInfoReasonStartup LogSupportInfoReason = iota + 1 // tailscaled is starting up. LogSupportInfoReasonBugReport // a bugreport is in the process of being gathered. )
Source Files ¶
mksyscall.go osdiag.go osdiag_notwindows.go
- Version
- v1.84.0 (latest)
- Published
- May 21, 2025
- Platform
- linux/amd64
- Last checked
- 20 hours ago –
Tools for package owners.