Module: AbCrunch::Logger
- Defined in:
- lib/abcrunch/logger.rb
Class Attribute Summary collapse
-
.writers ⇒ Object
Returns the value of attribute writers.
Class Method Summary collapse
Class Attribute Details
.writers ⇒ Object
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, , = {}) writers.each { |writer| writer.log(type, , ) } end |