Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var NoColor bool
NoColor disables all color output when set to true. This is set by the --color=none flag or the DASH0_COLOR=none environment variable.
Functions ¶
func SprintSeverity ¶
SprintSeverity returns the severity string color-coded and padded to width visible characters for terminal output. When width is 0, no padding is applied. When color is disabled (via NoColor) or stdout is not a TTY, the severity is returned as plain left-padded text.
func SprintSpanStatus ¶
SprintSpanStatus returns the span status string color-coded and padded to width visible characters for terminal output. When width is 0, no padding is applied.
func StderrOutput ¶ added in v1.7.0
StderrOutput returns a termenv output for stderr, respecting the NoColor flag.
func StdoutOutput ¶ added in v1.7.0
StdoutOutput returns a termenv output for stdout, respecting the NoColor flag.
Types ¶
This section is empty.