logging

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogging

func ConfigureLogging(mode string, isDebug bool) *slog.Logger

func Logger

func Logger() *slog.Logger

Types

type OutputMode

type OutputMode string

OutputMode is a custom type for specifying a small number of allowed parameters in Cobra (cli-library).

const (
	OutputModeText OutputMode = "text"
	OutputModeJSON OutputMode = "json"
)

Jump to

Keyboard shortcuts

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