Documentation
¶
Index ¶
- type Logger
- func (l *Logger) CreateSubLogger(name string) types.ILogger
- func (l *Logger) Debug(message string)
- func (l *Logger) DebugF(format string, args ...interface{})
- func (l *Logger) Error(message string)
- func (l *Logger) ErrorF(format string, args ...interface{})
- func (l *Logger) GetBaseLogger() *logrus.Entry
- func (l *Logger) GetName() string
- func (l *Logger) Info(message string)
- func (l *Logger) InfoF(format string, args ...interface{})
- func (l *Logger) Panic(message string)
- func (l *Logger) PanicF(format string, args ...interface{})
- func (l *Logger) Scope(name string, handler func(log types.ILogger) error) error
- func (l *Logger) ScopeWithReturn(name string, handler func(log types.ILogger) (any, error)) (any, error)
- func (l *Logger) SetLevel(level logrus.Level)
- func (l *Logger) Trace(message string)
- func (l *Logger) TraceF(format string, args ...interface{})
- func (l *Logger) Warn(message string)
- func (l *Logger) WarnF(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewRootLogger ¶
func (*Logger) GetBaseLogger ¶
func (*Logger) ScopeWithReturn ¶
Click to show internal directories.
Click to hide internal directories.