Documentation ¶
Index ¶
- func Debug(v ...interface{})
- func Debugf(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorf(format string, v ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, v ...interface{})
- func GetLogLevelAsString() string
- func Info(v ...interface{})
- func Infof(format string, v ...interface{})
- func SetLevelByString(level string)
- func SetOutputByName(filename string)
- func Warn(v ...interface{})
- func Warnf(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(v ...interface{})
Debug logs a message at level Debug on the wrapped logger.
func Debugf ¶
func Debugf(format string, v ...interface{})
Debugf logs a message at level Debug on the wrapped logger.
func Error ¶
func Error(v ...interface{})
Error logs a message at level Error on the wrapped logger.
func Errorf ¶
func Errorf(format string, v ...interface{})
Errorf logs a message at level Error on the wrapped logger.
func Fatal ¶
func Fatal(v ...interface{})
Fatal logs a message at level Fatal on the wrapped logger then the process will exit with status set to 1.
func Fatalf ¶
func Fatalf(format string, v ...interface{})
Fatalf logs a message at level Fatal on the wrapped logger then the process will exit with status set to 1.
func GetLogLevelAsString ¶
func GetLogLevelAsString() string
GetLogLevelAsString gets current log's level as a level string.
func Infof ¶
func Infof(format string, v ...interface{})
Infof logs a message at level Info on the wrapped logger.
func SetLevelByString ¶
func SetLevelByString(level string)
SetLevelByString sets log's level by a level string.
func SetOutputByName ¶
func SetOutputByName(filename string)
SetOutputByName sets the filename for the log.
Types ¶
This section is empty.