added the option to configure an existing logger (e.g. Rails.logger)