The highest tagged major version is
v6 .
Discover Packages
github.com/burgesQ/webfmwk/v2
log
package
Version:
v2.5.2
Opens a new window with list of versions in this module.
Published: Jan 23, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
package log implement the ILog interface used by the webfmwk
View Source
const (
LogERR = 0
LogWARN = 1
LogINFO = 2
LogDEBUG = 3
)
func Debugf(format string , v ...interface{})
func Errorf(format string , v ...interface{})
func Fatalf(format string , v ...interface{})
func Infof(format string , v ...interface{})
func SetLogLevel(level int ) (ok bool )
func Warnf(format string , v ...interface{})
type ILog interface {
Errorf(format string , v ...interface{})
Warnf(format string , v ...interface{})
Infof(format string , v ...interface{})
Debugf(format string , v ...interface{})
Fatalf(format string , v ...interface{})
}
ILog interface implement the logging system inside the API
Source Files
¶
Click to show internal directories.
Click to hide internal directories.