Documentation ¶
Index ¶
- Constants
- type Entry
- type Fields
- type LogLevel
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) GetSlogLogger() *slog.Logger
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) WithError(err error) *Entry
- func (l *Logger) WithField(key string, value interface{}) *Entry
- func (l *Logger) WithFields(fields ...Fields) *Entry
Constants ¶
View Source
const ErrorKey = "error"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
func WithFields ¶ added in v0.1.1
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewWithHandler ¶
func (*Logger) GetSlogLogger ¶
func (*Logger) WithFields ¶
Click to show internal directories.
Click to hide internal directories.