lib/pallets.rb in pallets-0.7.0 vs lib/pallets.rb in pallets-0.8.0
- old
+ new
@@ -55,15 +55,8 @@
def self.middleware
@middleware ||= configuration.middleware
end
def self.logger
- @logger ||= Pallets::Logger.new(STDOUT,
- level: Pallets::Logger::INFO,
- formatter: Pallets::Logger::Formatters::Pretty.new
- )
- end
-
- def self.logger=(logger)
- @logger = logger
+ @logger ||= configuration.logger
end
end