
The highest tagged major version is
v6.
package
Version:
v5.3.0
Opens a new window with list of versions in this module.
Published: Jul 5, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package log implement the Log interface used by the webfmwk
func Debugf(format string, v ...interface{})
Debugf output a debug message.
func Errorf(format string, v ...interface{})
Errorf output an error message.
func Fatalf(format string, v ...interface{})
Fatalf output an fatal message and then panic.
GetLogger return an struct fullfilling the Log interface
func Infof(format string, v ...interface{})
Infof output an info message.
SetLogLevel set the global logger log level
func Warnf(format string, v ...interface{})
Warnf output a warning message.
Level hold the logging level
const (
LogErr Level = iota
LogWarning
LogInfo
LogDebug
LogPrint
)
Following contant hold the possible log levels
Source Files
¶
Click to show internal directories.
Click to hide internal directories.