Documentation ¶
Index ¶
- Constants
- type LogLevel
- type Logger
- type ModLogger
- func (l *ModLogger) Close() error
- func (l *ModLogger) Debug(err error, intf ...interface{})
- func (l *ModLogger) Error(err error, intf ...interface{})
- func (l *ModLogger) Fatal(err error, intf ...interface{})
- func (l *ModLogger) Info(err error, intf ...interface{})
- func (l *ModLogger) Panic(err error, intf ...interface{})
- func (l *ModLogger) SetLogLevel(logLevel LogLevel) error
- func (l *ModLogger) Trace(err error, intf ...interface{})
- func (l *ModLogger) Warn(err error, intf ...interface{})
Constants ¶
View Source
const (
DDMMYYYYhhmmss = "20060102150405"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { NewLogger(logName string, logLevel ...LogLevel) (Logger, error) DeleteLogger() error SetLogLevel(logLevel LogLevel) error Fatal(err error, intf ...interface{}) Panic(err error, intf ...interface{}) Error(err error, intf ...interface{}) Warn(err error, intf ...interface{}) Info(err error, intf ...interface{}) Debug(err error, intf ...interface{}) Trace(err error, intf ...interface{}) }
Click to show internal directories.
Click to hide internal directories.