mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-22 18:06:35 +00:00
13 lines
279 B
Go
13 lines
279 B
Go
package sqlstore
|
|
|
|
import "log/slog"
|
|
|
|
type bunLogger struct {
|
|
logger *slog.Logger
|
|
}
|
|
|
|
func (l *bunLogger) Printf(format string, v ...interface{}) {
|
|
// the no lint directive is needed because the bun logger does not accept context
|
|
l.logger.Info(format, v...) //nolint:sloglint
|
|
}
|