v0.4.0 Latest Latest

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 3 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Logger

type Logger struct {
	// contains filtered or unexported fields

func New

func New(one, two log.Logger) *Logger

New creates a Logger which will send each log message to the logger specified by one and then to the logger specified by two. Debug log message will be sent to logger which implement a DebugLogger.

func (*Logger) Debug

func (l *Logger) Debug(level uint8, v ...interface{})

func (*Logger) Debugf

func (l *Logger) Debugf(level uint8, format string, v ...interface{})

func (*Logger) Debugln

func (l *Logger) Debugln(level uint8, v ...interface{})

func (*Logger) Fatal

func (l *Logger) Fatal(v ...interface{})

func (*Logger) Fatalf

func (l *Logger) Fatalf(format string, v ...interface{})

func (*Logger) Fatalln

func (l *Logger) Fatalln(v ...interface{})

func (*Logger) Panic

func (l *Logger) Panic(v ...interface{})

func (*Logger) Panicf

func (l *Logger) Panicf(format string, v ...interface{})

func (*Logger) Panicln

func (l *Logger) Panicln(v ...interface{})

func (*Logger) Print

func (l *Logger) Print(v ...interface{})

func (*Logger) Printf

func (l *Logger) Printf(format string, v ...interface{})

func (*Logger) Println

func (l *Logger) Println(v ...interface{})

Jump to

Keyboard shortcuts

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