Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerConfig ¶
type LoggerConfig struct {
Logger LoggerCustom
Ctx context.Context
}
func SetLogConfig ¶
func SetLogConfig(options []LoggingOption) LoggerConfig
type LoggerCustom ¶
type LoggingOption ¶
type LoggingOption func(*LoggerConfig)
func WithContext ¶
func WithContext(ctx context.Context) LoggingOption
func WithLogger ¶
func WithLogger(logger LoggerCustom) LoggingOption
type SlogLogger ¶
type SlogLogger struct {
// contains filtered or unexported fields
}
func NewSlogLogger ¶
func NewSlogLogger() *SlogLogger
Click to show internal directories.
Click to hide internal directories.