Documentation ¶
Index ¶
- func CloseFile() error
- func Debug(module, logText string, args ...interface{}) error
- func Error(module, logText string, args ...interface{}) error
- func Fine(module, logText string, args ...interface{}) error
- func GetLastTimestamp() string
- func Info(module, logText string, args ...interface{}) error
- func OverwriteFormat(format string)
- func SetLogLevel(level string)
- func ToFile(toFile string) error
- func Warn(module, logText string, args ...interface{}) error
- type LogLevel
- type LoggingInteface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastTimestamp ¶
func GetLastTimestamp() string
func OverwriteFormat ¶
func OverwriteFormat(format string)
func SetLogLevel ¶
func SetLogLevel(level string)
Types ¶
type LoggingInteface ¶
type LoggingInteface interface { Fine(module, logText string, args ...interface{}) error Debug(module, logText string, args ...interface{}) error Info(module, logText string, args ...interface{}) error Warn(module, logText string, args ...interface{}) error Error(module, logText string, args ...interface{}) error }
Click to show internal directories.
Click to hide internal directories.