Documentation ¶
Index ¶
- Variables
- func AddLogLevelFlag(flagset *pflag.FlagSet)
- 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(logFilePath string)
- func IsDebug() bool
- 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 (
Memory = newInMemoryHook(100)
)
Functions ¶
func AddLogLevelFlag ¶ added in v1.34.0
func BackupLogFile ¶ added in v1.21.0
func BackupLogFile()
func CloseLogging ¶
func CloseLogging()
func InitLogrus ¶
func InitLogrus(logFilePath string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.