Documentation
¶
Overview ¶
Package guilog manages gui-client.log, which follows the daemon's log level: in debug/trace the GUI attaches a rotated file alongside the console so its (and the React frontend's forwarded) output is captured for the debug bundle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugLog ¶
type DebugLog struct {
// contains filtered or unexported fields
}
DebugLog attaches/detaches gui-client.log based on the daemon's log level, fed via Apply. The file is left on disk for the debug bundle to collect. Disabled (and never touches logging) when the user set --log-file explicitly.
func NewDebugLog ¶
NewDebugLog builds the GUI debug log. enabled is false when the user passed --log-file (manual override).
Click to show internal directories.
Click to hide internal directories.