xcli

package
v0.0.0-...-7800756 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewColoredLogger

func NewColoredLogger(o WritableFd, l slog.Leveler) *slog.Logger

NewColoredLogger sets the global slog.Logger to use colored logging. If $NO_COLOR is set, it will disable colored logging.

Types

type WritableFd

type WritableFd interface {
	io.Writer
	Fd() uintptr
}

Jump to

Keyboard shortcuts

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