Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsColorSupported ¶ added in v1.11.1
func IsColorSupported() bool
IsColorSupported reports current environment allows for color printing.
Types ¶
type Option ¶
type Option func(*Writer)
func WithJSONFormat ¶
func WithJSONFormat() Option
func WithLogLevel ¶
func WithNoColor ¶
func WithNoColor() Option
func WithWriter ¶
Click to show internal directories.
Click to hide internal directories.