lib/waterdrop.rb in waterdrop-0.1.5 vs lib/waterdrop.rb in waterdrop-0.1.6
- old
+ new
@@ -8,20 +8,20 @@
json
poseidon
aspector
forwardable
connection_pool
+ null_logger
).each { |lib| require lib }
# Internal components
base_path = File.dirname(__FILE__) + '/water_drop'
%w(
version
pool
config
- logger
message
aspects/base_aspect
aspects/formatter
aspects/after_aspect
aspects/around_aspect
@@ -33,10 +33,10 @@
class << self
attr_writer :logger
# @return [Logger] logger that we want to use
def logger
- @logger ||= Logger.new
+ @logger ||= NullLogger.new
end
# Sets up the whole configuration
# @param [Block] block configuration block
def setup(&block)