logger

package
v0.0.0-...-059d9f2 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(message string, fields ...zap.Field)

func Error

func Error(message string, fields ...zap.Field)

func FInfo

func FInfo(w io.Writer, message string)

FInfo I need to check if the debug is false because the error comes in the debug also as true

func FInfoFlags

func FInfoFlags(w io.Writer, message, format, out string)

func LogLevel

func LogLevel(logger Logger)

func New

func New(level zapcore.Level)

func PrintHeader

func PrintHeader(table tablecli.Table, format string)

func PrintRow

func PrintRow(table tablecli.Table, format string, row []string)

Types

type Logger

type Logger struct {
	Debug    bool   `json:"-" yaml:"-" toml:"-"`
	Silent   bool   `json:"-" yaml:"-" toml:"-"`
	LogLevel string `json:"-" yaml:"-" toml:"-"`
}

Jump to

Keyboard shortcuts

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