accounting/pkg/database/logger.go
2024-01-15 23:49:29 +01:00

14 lines
188 B
Go

package database
import (
"fmt"
"io"
)
type (
loggerWriter struct{ io.Writer }
)
func (l loggerWriter) Printf(format string, data ...any) {
fmt.Fprintf(l.Writer, format, data...)
}