logger

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = dlog.New(log.Default().Writer(), "", log.LstdFlags, os.Getenv("DEBUG") == "1")

note: previously ioutil.Discard which is not deprecated in favord of io.Discard so this is valid only from go1.16

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Debug(...any)
	Debugf(fmt string, a ...any)
	Print(...any)
	Printf(fmt string, a ...any)
	Println(...any)
}

Jump to

Keyboard shortcuts

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