logger

package
v0.5.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleLog

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

func NewConsoleLog

func NewConsoleLog() *ConsoleLog

func (ConsoleLog) Debug

func (d ConsoleLog) Debug(v ...interface{})

func (ConsoleLog) Debugf

func (d ConsoleLog) Debugf(format string, v ...interface{})

func (ConsoleLog) Error

func (d ConsoleLog) Error(v ...interface{})

func (ConsoleLog) Errorf

func (d ConsoleLog) Errorf(format string, v ...interface{})

func (ConsoleLog) Fatal

func (d ConsoleLog) Fatal(v ...interface{})

func (ConsoleLog) Fatalf

func (d ConsoleLog) Fatalf(format string, v ...interface{})

func (ConsoleLog) Info

func (d ConsoleLog) Info(v ...interface{})

func (ConsoleLog) Infof

func (d ConsoleLog) Infof(format string, v ...interface{})

func (ConsoleLog) Panic

func (d ConsoleLog) Panic(v ...interface{})

func (ConsoleLog) Panicf

func (d ConsoleLog) Panicf(format string, v ...interface{})

func (ConsoleLog) Trace added in v0.5.4

func (d ConsoleLog) Trace(v ...interface{})

func (ConsoleLog) Tracef added in v0.5.4

func (d ConsoleLog) Tracef(format string, v ...interface{})

func (ConsoleLog) Warn

func (d ConsoleLog) Warn(v ...interface{})

func (ConsoleLog) Warnf

func (d ConsoleLog) Warnf(format string, v ...interface{})

type Logger

type Logger interface {
	Trace(v ...interface{})
	Debug(v ...interface{})
	Info(v ...interface{})
	Warn(v ...interface{})
	Error(v ...interface{})
	Fatal(v ...interface{})
	Panic(v ...interface{})

	Tracef(format string, v ...interface{})
	Debugf(format string, v ...interface{})
	Infof(format string, v ...interface{})
	Warnf(format string, v ...interface{})
	Errorf(format string, v ...interface{})
	Fatalf(format string, v ...interface{})
	Panicf(format string, v ...interface{})
}

Jump to

Keyboard shortcuts

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