lib/celluloid/logging/incident_logger.rb in celluloid-0.13.0 vs lib/celluloid/logging/incident_logger.rb in celluloid-0.14.0.pre
- old
+ new
@@ -47,12 +47,12 @@
@level = options[:level] || DEBUG
@threshold = options[:threshold] || ERROR
@sizelimit = options[:sizelimit] || 100
@buffer_mutex = Mutex.new
- @buffers = Hash.new do |progname_hash, progname|
+ @buffers = Hash.new do |progname_hash, _progname|
@buffer_mutex.synchronize do
- progname_hash[progname] = Hash.new do |severity_hash, severity|
+ progname_hash[_progname] = Hash.new do |severity_hash, severity|
severity_hash[severity] = RingBuffer.new(@sizelimit)
end
end
end