slog

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VerboseLog is whethere allow verbose log output.
	VerboseLog = false
)

Functions

This section is empty.

Types

type SimpleLogger

type SimpleLogger interface {
	Debugf(formatString string, args ...interface{})
	Infof(formatString string, args ...interface{})
	Fatalf(formatString string, args ...interface{})
}

SimpleLogger is a simple logger.

func New

func New(prefix string) SimpleLogger

New creates a new logger.

Jump to

Keyboard shortcuts

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