Documentation ¶
Overview ¶
Package osdiag provides loggers for OS-specific diagnostic information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportInfo ¶ added in v1.66.0
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. )
Click to show internal directories.
Click to hide internal directories.