Module: AbCrunch::Logger

Defined in:
lib/abcrunch/logger.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.writersObject

Returns the value of attribute writers.



4
5
6
# File 'lib/abcrunch/logger.rb', line 4

def writers
  @writers
end

Class Method Details

.log(type, message, options = {}) ⇒ Object



9
10
11
# File 'lib/abcrunch/logger.rb', line 9

def self.log(type, message, options = {})
  writers.each { |writer| writer.log(type, message, options) }
end