Documentation
¶
Index ¶
- Constants
- func Debug(msg string, args ...any)
- func Error(msg string, args ...any)
- func Get() *slog.Logger
- func Info(msg string, args ...any)
- func New(v *viper.Viper) (*slog.Logger, error)
- func Set(v *viper.Viper) error
- func Warn(msg string, args ...any)
- func With(args ...any) *slog.Logger
- func WithGroup(name string) *slog.Logger
Constants ¶
View Source
const ( HandlerText = "text" HandlerJSON = "json" HandlerSentry = "sentry" )
View Source
const ( OutputStdOut = "stdout" OutputFile = "file" )
View Source
const ( LevelDebug = "debug" LevelInfo = "info" LevelWarn = "warn" LevelError = "error" )
View Source
const (
RFC3339Micro = "2006-01-02T15:04:05.999999Z"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.