logger

package
v0.0.0-...-75da3b6 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(logLevel string)

func Sync

func Sync()

Types

type Logger

type Logger interface {
	Debug(msg string, fields ...any)
	Debugf(msg string, fields ...any)
	Info(msg string, fields ...any)
	Infof(msg string, fields ...any)
	Warn(msg string, fields ...any)
	Warnf(msg string, fields ...any)
	Error(msg string, fields ...any)
	Errorf(msg string, fields ...any)
	Fatal(msg string, fields ...any)
	Fatalf(msg string, fields ...any)
	Panic(msg string, fields ...any)
	Panicf(msg string, fields ...any)
}

func GetLogger

func GetLogger() Logger

Jump to

Keyboard shortcuts

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