package
Version:
v0.16.0
Opens a new window with list of versions in this module.
Published: Feb 27, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Logger interface {
Printf(string, ...interface{})
}
NewLog return a MyLog structure
func (l *MyLog) Debug() logcontext
Debug prepare the output of DEBUG message
func (l *MyLog) Error() logcontext
Error prepare the output of ERROR message
func (l *MyLog) Fatal() logcontext
Fatal prepare the output of FATAL message
func (l *MyLog) Info() logcontext
Info prepare the output of INFO message
IsDebug return true if log level is DEBUG
func (l *MyLog) Trace() logcontext
Trace prepare the output of TRACE message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.