osdiag

package
v0.0.0-...-113f59a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

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.
)

Directories

Path Synopsis
internal
wsc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL