Documentation ¶ Index ¶ func GetDatabaseLogLevel() tracelog.LogLevel func GetShouldOmitArgs() bool type Logger func NewLogger(l *slog.Logger, omitArgs bool) *Logger func (l *Logger) Log(ctx context.Context, level tracelog.LogLevel, msg string, data map[string]any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetDatabaseLogLevel ¶ func GetDatabaseLogLevel() tracelog.LogLevel Returns a tracelog.LogLevel as configured by the environment func GetShouldOmitArgs ¶ added in v0.4.31 func GetShouldOmitArgs() bool Types ¶ type Logger ¶ type Logger struct { // contains filtered or unexported fields } func NewLogger ¶ func NewLogger(l *slog.Logger, omitArgs bool) *Logger func (*Logger) Log ¶ func (l *Logger) Log(ctx context.Context, level tracelog.LogLevel, msg string, data map[string]any) Source Files ¶ View all Source files adapter.go Click to show internal directories. Click to hide internal directories.