Documentation
¶
Index ¶
- func Debug(msg string, fields Fields)
- func Debugf(format string, args ...interface{})
- func Error(msg string, fields Fields)
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func GetLogger() *slog.Logger
- func Info(msg string, fields Fields)
- func Infof(format string, args ...interface{})
- func SetLogLevel(level slog.Level)
- func Warn(msg string, fields Fields)
- func Warnf(format string, args ...interface{})
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a message at level Debug on the standard logger.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs a message at level Error on the standard logger.
func Fatalf ¶
func Fatalf(format string, args ...interface{})
Fatalf logs a message at level Fatal on the standard logger and exits.
Types ¶
Click to show internal directories.
Click to hide internal directories.