logger

package
v1.3.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugLogger added in v1.3.19

type DebugLogger struct{}

func (*DebugLogger) Debug added in v1.3.19

func (l *DebugLogger) Debug(format string, args ...interface{})

func (*DebugLogger) Error added in v1.3.19

func (l *DebugLogger) Error(format string, args ...interface{})

func (*DebugLogger) Info added in v1.3.19

func (l *DebugLogger) Info(format string, args ...interface{})

type Logger

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

type NoopLogger

type NoopLogger struct{}

func (*NoopLogger) Debug

func (l *NoopLogger) Debug(format string, args ...interface{})

func (*NoopLogger) Error

func (l *NoopLogger) Error(format string, args ...interface{})

func (*NoopLogger) Info

func (l *NoopLogger) Info(format string, args ...interface{})

Jump to

Keyboard shortcuts

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