lib/data_mapper/context.rb in datamapper-0.2.2 vs lib/data_mapper/context.rb in datamapper-0.2.3
- old
+ new
@@ -92,11 +92,11 @@
def table(klass)
@adapter.table(klass)
end
- def log
- @adapter.log
+ def logger
+ @logger || @logger = @adapter.logger
end
end
end
\ No newline at end of file