// WithLogger used to log queries before executing them
WithLogger used to log queries before executing them
// WithLogger used to log queries before executing them
func WithLogger(l logger) ReaderOption {
	return func(r Reader) {
		r.(loggerSetter).setLogger(l)
	}
}
func WithLogger ( l logger ) ReaderOption { return func ( r Reader ) { r . ( loggerSetter ) . setLogger ( l ) } }
WithLogger used to log queries before executing them
WithLogger used to log queries before executing them