debug

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable(enabled bool)

Enable enables debug mode

func Fatal

func Fatal(args ...interface{})

Fatal prints a debug message and exits if debug mode is enabled

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf prints a formatted debug message and exits if debug mode is enabled

func Print

func Print(format string, args ...interface{})

Print prints a debug message if debug mode is enabled

func Printf

func Printf(format string, args ...interface{})

Printf is an alias for Print

func Println

func Println(args ...interface{})

Println prints a debug message with a newline if debug mode is enabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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