log

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Warning

func Warning(args ...interface{})

func Warningf

func Warningf(format string, args ...interface{})

Types

type ErrorLog

type ErrorLog interface {
	Error(args ...interface{})
	Errorf(format string, args ...interface{})
}

type FatalLog

type FatalLog interface {
	Fatal(args ...interface{})
	Fatalf(format string, args ...interface{})
}

type InfoLog

type InfoLog interface {
	Info(args ...interface{})
	Infof(format string, args ...interface{})
}

func V

func V(level Level) InfoLog

type Level

type Level int

type Log

type Log interface {
	FatalLog
	ErrorLog
	WarningLog
	InfoLog
}

type WarningLog

type WarningLog interface {
	Warning(args ...interface{})
	Warningf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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