Class: Logging::IO::Raw
- Inherits:
-
Base
- Object
- Base
- Logging::IO::Raw
show all
- Defined in:
- lib/logging/io.rb
Overview
Instance Attribute Summary
Attributes inherited from Base
#label
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#write(message) ⇒ Object
28
29
30
|
# File 'lib/logging/io.rb', line 28
def write(message)
puts message
end
|
#write_multiple_messages(formatter, level, messages) ⇒ Object
36
37
38
|
# File 'lib/logging/io.rb', line 36
def write_multiple_messages(formatter, level, messages)
self.write(formatter.format_multiple_messages(level, self.label, messages))
end
|
#write_single_message(formatter, level, message) ⇒ Object
32
33
34
|
# File 'lib/logging/io.rb', line 32
def write_single_message(formatter, level, message)
self.write(formatter.format_single_message(level, self.label, message))
end
|