log

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string)

Debug logs with tag debug

func Error

func Error(msg string)

Error logs with tag error and in red

func Info

func Info(msg string)

Info logs with tag info and in blue

func InitLogger

func InitLogger(debug bool) *zap.SugaredLogger

InitLogger initializes a new logger. Make sure to call defer logger.Sync().

func UInfo

func UInfo(msg string, args ...interface{})

UInfo unstructured info log

func Warn

func Warn(msg string)

Warn logs with tag warn and in yellow

Types

This section is empty.

Jump to

Keyboard shortcuts

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