Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextGormLogger ¶
func GetContextGormLogger(ctx context.Context) *threadsafe.SimpleSafeSlice[string]
GetContextGormLogger takes a context as input and returns a pointer to a SimpleSafeSlice of strings
func NewWithConfig ¶
func NewWithConfig(config *config) *logger
NewWithConfig creates a new logger with given config
func WithContextGormLogger ¶
func WithContextGormLogger(ctx context.Context, w *threadsafe.SimpleSafeSlice[string]) context.Context
WithContextGormLogger takes a context and threadsafe slice (string) as inputs and returns a new context with a value
Types ¶
Click to show internal directories.
Click to hide internal directories.