Class: PerformanceTester::Logger
- Inherits:
-
Object
- Object
- PerformanceTester::Logger
- Defined in:
- lib/performance_tester/logger.rb
Overview
Base logger with a stub log method
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#outcome ⇒ Object
readonly
Returns the value of attribute outcome.
-
#run_name ⇒ Object
readonly
Returns the value of attribute run_name.
Instance Method Summary collapse
-
#initialize(run_name, outcome, options = {}) ⇒ Logger
constructor
A new instance of Logger.
- #log ⇒ Object
Constructor Details
#initialize(run_name, outcome, options = {}) ⇒ Logger
Returns a new instance of Logger.
24 25 26 27 28 |
# File 'lib/performance_tester/logger.rb', line 24 def initialize(run_name, outcome, = {}) @run_name = run_name @outcome = outcome @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
22 23 24 |
# File 'lib/performance_tester/logger.rb', line 22 def @options end |
#outcome ⇒ Object (readonly)
Returns the value of attribute outcome.
22 23 24 |
# File 'lib/performance_tester/logger.rb', line 22 def outcome @outcome end |
#run_name ⇒ Object (readonly)
Returns the value of attribute run_name.
22 23 24 |
# File 'lib/performance_tester/logger.rb', line 22 def run_name @run_name end |
Instance Method Details
#log ⇒ Object
30 31 |
# File 'lib/performance_tester/logger.rb', line 30 def log end |