dbg

package
v0.0.0-...-692212b Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Enabled = true

Enabled reports whether debug output is enabled.

Variables

This section is empty.

Functions

func Log

func Log(v ...interface{})

Log print debug message to the standard logger if enabled. Arguments are handled in the manner of fmt.Print.

func Logf

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

Logf print debug message to the standard logger if enabled. Arguments are handled in the manner of fmt.Printf.

func Logln

func Logln(v ...interface{})

Logln print debug message to the standard logger if enabled. Arguments are handled in the manner of fmt.Println.

func SetPrefix

func SetPrefix(s string)

SetPrefix set the prefix for debug messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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