logger

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger(name string) *logrus.Logger

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func GetGlobalLogger

func GetGlobalLogger() *Logger

func InitGlobalLogger

func InitGlobalLogger() *Logger

func (*Logger) GetLogger

func (lg *Logger) GetLogger(name string) *logrus.Logger

func (*Logger) RegisterLogger

func (lg *Logger) RegisterLogger(name, fpath, formatter string) (*logrus.Logger, error)

Jump to

Keyboard shortcuts

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