logger

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args string)

func Debugf

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

func Error

func Error(args string)

func Errorf

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

func Fatal

func Fatal(args string)

func Fatalf

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

func Info

func Info(args string)

func Infof

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

func New

func New(l Logger)

func Warn

func Warn(args string)

func Warnf

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

Types

type Logger

type Logger interface {
	Debug(args string)
	Info(args string)
	Warn(args string)
	Error(args string)
	Fatal(args string)
	Debugf(format string, args ...interface{})
	Infof(format string, args ...interface{})
	Warnf(format string, args ...interface{})
	Errorf(format string, args ...interface{})
	Fatalf(format string, args ...interface{})
}

type LoggerComponent

type LoggerComponent struct {
	Logger Logger
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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