Documentation ¶
Index ¶
- Variables
- func CloseLogFile()
- 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 string)
- func OpenLogFile(path string) (*os.File, error)
- func RemoveFileHook()
- func SetupFileHook(path string)
- func Warn(args ...interface{})
- func Warnf(s string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LogLevel string
)
Functions ¶
func CloseLogFile ¶
func CloseLogFile()
func CloseLogging ¶
func CloseLogging()
func InitLogrus ¶
func InitLogrus(logLevel string)
func RemoveFileHook ¶
func RemoveFileHook()
func SetupFileHook ¶
func SetupFileHook(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.