pglmmylog

package module
v0.0.0-...-5b23acd Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MODE_NONE      = iota // Do nothing
	MODE_DEFAULT          // Default level for debug
	MODE_DEEP_DIVE        // Debug higher level in loop.
)
View Source
const CURRENT_DEBUG_MODE debug_mode = MODE_DEFAULT
View Source
const FORMAT_DEBUG_DATETIME string = "2006-01-02 15:04:05.0000"

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

func PrintDebug

func PrintDebug(mode debug_mode, a ...any)

print when is debug mode enabled

func PrintInfo

func PrintInfo(a ...any)

print information

func WriteInfo

func WriteInfo(a ...any)

Write log to console

Types

This section is empty.

Jump to

Keyboard shortcuts

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