logger

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TmLogger

type TmLogger struct {
	Config *specs.TimeMasterConfig
	Logger *zap.Logger
	Aurora aurora.Aurora
}

func GetDefaultLogger

func GetDefaultLogger() *TmLogger

func NewTmLogger

func NewTmLogger(config *specs.TimeMasterConfig) *TmLogger

func (*TmLogger) Debug

func (l *TmLogger) Debug(mess ...interface{})

func (*TmLogger) DebugC

func (l *TmLogger) DebugC(mess ...interface{})

func (*TmLogger) Error

func (l *TmLogger) Error(mess ...interface{})

func (*TmLogger) Fatal

func (l *TmLogger) Fatal(mess ...interface{})

func (*TmLogger) GetAurora

func (l *TmLogger) GetAurora() aurora.Aurora

func (*TmLogger) Info

func (l *TmLogger) Info(mess ...interface{})

func (*TmLogger) InfoC

func (l *TmLogger) InfoC(mess ...interface{})

func (*TmLogger) InitLogger2File

func (l *TmLogger) InitLogger2File() error

func (*TmLogger) SetAsDefault

func (l *TmLogger) SetAsDefault()

func (*TmLogger) Warning

func (l *TmLogger) Warning(mess ...interface{})

Jump to

Keyboard shortcuts

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