logger

package
v1.6.8 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(message string)

func Logf

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

Types

type Logger

type Logger interface {
	Log(message string)
	Logf(format string, args ...interface{})
}
var DefaultLogger Logger

type NullLogger

type NullLogger struct{}

func (*NullLogger) Log

func (l *NullLogger) Log(message string)

func (*NullLogger) Logf

func (l *NullLogger) Logf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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