package
module
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Jan 23, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 13
Opens a new window with list of known importers.
README
¶
Documentation
¶
EnvKey is the key of environment vars for DEBUG
Version is the version of this package.
func Debug(args ...interface{})
Debug prints debug message if it is in debug mode
func Info(args ...interface{})
Info prints debug message if it is in debug mode
IsDebugMode check is now in debug mode
type Debugger interface {
IsDebugMode(compare ...func(envValue string) bool) bool
Debug(args ...interface{})
Info(args ...interface{})
SetLogger(func(args ...interface{}) error)
}
Debugger is a interface for debug
New returns a new Debugger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.