Accepts a logger
conforming to the interface of Log4r or the default Ruby 1.8+ Logger class, which is then passed on to any new database connections made
and which can be retrieved on both a class and instance level by calling
logger.
# File activerecord/lib/active_record/base.rb, line 339
cattr_accessor :logger, :instance_writer => false