Class: LoggerBase
- Inherits:
-
Object
- Object
- LoggerBase
- Defined in:
- lib/debugtrace/loggers.rb
Overview
Abstract base class for logger classes.
Direct Known Subclasses
Instance Method Summary collapse
-
#print(message) ⇒ Object
Outputs the message.
-
#to_s ⇒ Object
Returns a string representation of this object.
Instance Method Details
#print(message) ⇒ Object
Outputs the message.
11 12 13 |
# File 'lib/debugtrace/loggers.rb', line 11 def print() raise 'LoggerBase.print is an abstract method.' end |
#to_s ⇒ Object
Returns a string representation of this object.
17 18 19 |
# File 'lib/debugtrace/loggers.rb', line 17 def to_s "#{self.class.name}" end |