logger

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 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 ConsoleLogger

type ConsoleLogger struct {
	// contains filtered or unexported fields
}

func New

func New(verboseMode bool) *ConsoleLogger

func (*ConsoleLogger) Log

func (l *ConsoleLogger) Log(message string)

func (*ConsoleLogger) LogF

func (l *ConsoleLogger) LogF(format string, a ...interface{})

type Logger

type Logger interface {
	Log(message string)
	LogF(format string, a ...interface{})
}

Jump to

Keyboard shortcuts

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