Documentation ¶
Index ¶
- func Debug(v interface{})
- func Debugf(format string, v ...interface{})
- func Error(v interface{})
- func Errorf(format string, v ...interface{})
- func Info(v interface{})
- func Infof(format string, v ...interface{})
- func ParseLogFlag(s string) (l int, err error)
- func Set() error
- type Level
- type LevelErr
- type UnknownLogFlagErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(v interface{})
Debug writes a debug entry to the log. If the Level < LogDebug, nothing will be written.
func Debugf ¶
func Debugf(format string, v ...interface{})
Debugf writes a debug entry to the log using the provided format and data. If the Level < LogDebug, nothing will be written.
func Error ¶
func Error(v interface{})
Error writes an error entry to the log. If the Level == LogNone, nothing will be written. Even though
func Errorf ¶
func Errorf(format string, v ...interface{})
Errorf writes an error entry to the log using the provided format and data. If the Level == LogNone, nothing will be written. Even though
func Info ¶
func Info(v interface{})
Info writes an info entry to the log. If the Level < LogInfo, nothing will be written.
func Infof ¶
func Infof(format string, v ...interface{})
Infof writes an info entry to the log using the provided format and data. If the Level < LogInfo, nothing will be written.
func ParseLogFlag ¶
Types ¶
type UnknownLogFlagErr ¶
type UnknownLogFlagErr struct {
// contains filtered or unexported fields
}
func (UnknownLogFlagErr) Error ¶
func (e UnknownLogFlagErr) Error() string