accounting/pkg/database/logger.go

15 lines
206 B
Go
Raw Permalink Normal View History

2024-01-15 22:49:29 +00:00
package database
import (
"fmt"
"io"
)
type (
loggerWriter struct{ io.Writer }
)
func (l loggerWriter) Printf(format string, data ...any) {
fmt.Fprintf(l.Writer, format, data...) //nolint:errcheck
2024-01-15 22:49:29 +00:00
}