Documentation ¶
Index ¶
- type Level
- type MyLogger
- type SimpleLogger
- func (l *SimpleLogger) Debug(msg string, v ...any)
- func (l *SimpleLogger) Error(msg string, v ...interface{})
- func (l *SimpleLogger) Fatal(msg string, v ...interface{})
- func (l *SimpleLogger) GetDefaultLogger() (*log.Logger, error)
- func (l *SimpleLogger) Info(msg string, v ...interface{})
- func (l *SimpleLogger) Warn(msg string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyLogger ¶
type SimpleLogger ¶
type SimpleLogger struct {
// contains filtered or unexported fields
}
func (*SimpleLogger) Debug ¶
func (l *SimpleLogger) Debug(msg string, v ...any)
func (*SimpleLogger) Error ¶
func (l *SimpleLogger) Error(msg string, v ...interface{})
func (*SimpleLogger) Fatal ¶
func (l *SimpleLogger) Fatal(msg string, v ...interface{})
func (*SimpleLogger) GetDefaultLogger ¶ added in v0.0.9
func (l *SimpleLogger) GetDefaultLogger() (*log.Logger, error)
func (*SimpleLogger) Info ¶
func (l *SimpleLogger) Info(msg string, v ...interface{})
func (*SimpleLogger) Warn ¶
func (l *SimpleLogger) Warn(msg string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.