logging

package
v0.0.0-...-d4f6dfb Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(config *LoggingConfig)

Types

type LoggingConfig

type LoggingConfig struct {
	Verbosity int  `short:"v" help:"Increase verbosity." type:"counter"`
	Quiet     bool `short:"q" help:"Disable all logging" default:"false" negatable:""`
	Json      bool `help:"Log as json" default:"true" negatable:""`
	Debug     bool `help:"shortcut for -vvvv" default:"false" negatable:""`
}

Jump to

Keyboard shortcuts

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