Documentation ¶
Overview ¶
Package logmanager add helper for logrus
Index ¶
- func Debug(logline string) error
- func Error(logline string) error
- func Fatal(logline string)
- func Info(logline string, forceStdout ...bool) error
- func SetLogLevel(LogLevel string, exPath string, fileName string, maxSize int, maxBackups int, ...) error
- func StartWindowsEvent(name string)
- func Warning(logline string) error
- func WithFields(s1 string, s2 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogLevel ¶
func SetLogLevel(LogLevel string, exPath string, fileName string, maxSize int, maxBackups int, maxAge int, interactive bool, reportcaller bool, jsontostdout bool) error
SetLogLevel set logrus level
func StartWindowsEvent ¶
func StartWindowsEvent(name string)
func WithFields ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.