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 GetWritter() *io.PipeWriter
- func Info(args ...interface{})
- func Infof(s string, args ...interface{})
- func InitLogrus(basePath, fileName string)
- func OpenLogFile(basePath string, fileName 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
)
Functions ¶
func BackupLogFile ¶
func BackupLogFile()
func CloseLogging ¶
func CloseLogging()
func GetWritter ¶
func GetWritter() *io.PipeWriter
func InitLogrus ¶
func InitLogrus(basePath, fileName string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.