gioui.orggioui.org/internal/debug Index | Files

package debug

import "gioui.org/internal/debug"

Package debug provides general debug feature management for Gio, including the ability to toggle debug features using the GIODEBUG environment variable.

Index

Variables

var Text atomic.Bool

Text controls whether the text subsystem has debug logging enabled.

Functions

func Parse

func Parse()

Parse processes the current value of GIODEBUG. If it is unset, it does nothing. Otherwise it process its value, printing usage info the stderr if the value is not understood. Parse will be automatically invoked when the first application window is created, allowing applications to manipulate GIODEBUG programmatically before it is parsed.

Source Files

debug.go

Version
v0.5.0
Published
Feb 5, 2024
Platform
js/wasm
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.