curre/default_logger.go
2022-09-10 01:39:36 +02:00

16 lines
291 B
Go

package curre
import "fmt"
type DefaultLogger struct{}
var _ Logger = &DefaultLogger{}
func (dl *DefaultLogger) Info(msg string, args ...any) {
fmt.Println(fmt.Sprintf(msg, args...))
}
func (dl *DefaultLogger) Error(msg string, args ...any) {
fmt.Println(fmt.Sprintf(msg, args...))
}