Documentation ¶
Index ¶
- Variables
- func BackupLogFile()
- func CloseLogging()
- func Debug(args ...interface{})
- func Debugf(s string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(s string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(s string, args ...interface{})
- func Info(args ...interface{})
- func Infof(s string, args ...interface{})
- func InitLogrus(logLevel, logFilePath string)
- func OpenLogFile(path string) (*os.File, error)
- func Warn(args ...interface{})
- func Warnf(s string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogLevel string Memory = newInMemoryHook(100) )
Functions ¶
func BackupLogFile ¶ added in v1.21.0
func BackupLogFile()
func CloseLogging ¶
func CloseLogging()
func InitLogrus ¶
func InitLogrus(logLevel, logFilePath string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.