Help us shape the future of Go! Take the 2026 Go Developer Survey

logging

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 3 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 {
	Verbose(format string, v ...any)
	Print(format string, v ...any)
	Error(format string, v ...any)
}

type StdLogger

type StdLogger struct {
	LogVerbose bool
	// contains filtered or unexported fields
}

func NewStd

func NewStd() StdLogger

func (StdLogger) Error

func (l StdLogger) Error(format string, v ...any)

func (StdLogger) Print

func (l StdLogger) Print(format string, v ...any)

func (StdLogger) Verbose

func (l StdLogger) Verbose(format string, v ...any)

Jump to

Keyboard shortcuts

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