package
Version:
v1.7.3
Opens a new window with list of versions in this module.
Published: Dec 24, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 8
Opens a new window with list of known importers.
Documentation
¶
func Debugf(fmt string, args ...interface{})
Debugf log to level debug
func Errorf(fmt string, args ...interface{})
Errorf log to level error
func FatalIfError(err error)
FatalIfError if err is not nil, then log to level fatal and call os.Exit
func FatalfIf(cond bool, fmt string, args ...interface{})
FatalfIf log to level error
func Infof(fmt string, args ...interface{})
Infof log to level info
InitLog is a initialization for a logger
level can be: debug info warn error
func Warnf(fmt string, args ...interface{})
Warnf log to level warn
Source Files
¶
Click to show internal directories.
Click to hide internal directories.