log

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGlobalLogger

func InitGlobalLogger(cfg *config.Log)

Types

type SubLogger

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

func NewSubLogger

func NewSubLogger(name string) *SubLogger

func (*SubLogger) Debug

func (sl *SubLogger) Debug(msg string, keyvals ...interface{})

func (*SubLogger) Error

func (sl *SubLogger) Error(msg string, keyvals ...interface{})

func (*SubLogger) Fatal

func (sl *SubLogger) Fatal(msg string, keyvals ...interface{})

func (*SubLogger) Info

func (sl *SubLogger) Info(msg string, keyvals ...interface{})

func (*SubLogger) Panic

func (sl *SubLogger) Panic(msg string, keyvals ...interface{})

func (*SubLogger) Trace

func (sl *SubLogger) Trace(msg string, keyvals ...interface{})

func (*SubLogger) Warn

func (sl *SubLogger) Warn(msg string, keyvals ...interface{})

Jump to

Keyboard shortcuts

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