logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Critical

func Critical(v ...interface{}) error

func Criticalf

func Criticalf(format string, params ...interface{}) error

func Debug

func Debug(v ...interface{})

func Debugf

func Debugf(format string, params ...interface{})

func Error

func Error(v ...interface{}) error

func Errorf

func Errorf(format string, params ...interface{}) error

func Info

func Info(v ...interface{})

func Infof

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

func Reload

func Reload(fileName string) error

func Trace

func Trace(v ...interface{})

func Tracef

func Tracef(format string, params ...interface{})

func Warn

func Warn(v ...interface{}) error

func Warnf

func Warnf(format string, params ...interface{}) error

Types

type ILogger

type ILogger interface {
	Tracef(format string, params ...interface{})
	Debugf(format string, params ...interface{})
	Infof(format string, params ...interface{})
	Warnf(format string, params ...interface{}) error
	Errorf(format string, params ...interface{}) error
	Criticalf(format string, params ...interface{}) error

	Trace(v ...interface{})
	Debug(v ...interface{})
	Info(v ...interface{})
	Warn(v ...interface{}) error
	Error(v ...interface{}) error
	Critical(v ...interface{}) error

	Close()
	Flush()
	Closed() bool
}

Jump to

Keyboard shortcuts

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