Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustLogger ¶
func MustLogger(opts ...LoggerOption) *slog.Logger
Types ¶
type LoggerOption ¶
type LoggerOption func(*LoggerOptions)
func WithFormat ¶
func WithFormat(format string) LoggerOption
func WithLevel ¶
func WithLevel(level string) LoggerOption
func WithOutput ¶
func WithOutput(output string) LoggerOption
type LoggerOptions ¶
type LoggerOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.