logger

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Error(message string, args ...interface{})
	Warning(message string, args ...interface{})
	Info(message string, args ...interface{})
	Debug(message string, args ...interface{})
}

func NewLogger

func NewLogger(config *config.Config) (Logger, error)

type NilLogger

type NilLogger struct{}

func (*NilLogger) Debug

func (l *NilLogger) Debug(message string, args ...interface{})

func (*NilLogger) Error

func (l *NilLogger) Error(message string, args ...interface{})

func (*NilLogger) Info

func (l *NilLogger) Info(message string, args ...interface{})

func (*NilLogger) Warning

func (l *NilLogger) Warning(message string, args ...interface{})

Jump to

Keyboard shortcuts

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