Documentation ¶
Overview ¶
Package osdiag provides loggers for OS-specific diagnostic information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogSupportInfo ¶
func LogSupportInfo(logf logger.Logf, reason LogSupportInfoReason)
LogSupportInfo obtains OS-specific diagnostic information useful for troubleshooting and support, and writes it to logf. The reason argument is useful for governing the verbosity of this function's 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.