Class: Gravitext::PerfTest::LogListener::LogWriter
- Inherits:
-
Object
- Object
- Gravitext::PerfTest::LogListener::LogWriter
- Defined in:
- lib/gravitext-util/perftest.rb
Overview
Send <<() to log.debug
Instance Method Summary collapse
- #<<(msg) ⇒ Object
-
#initialize(log) ⇒ LogWriter
constructor
A new instance of LogWriter.
Constructor Details
#initialize(log) ⇒ LogWriter
Returns a new instance of LogWriter.
380 381 382 |
# File 'lib/gravitext-util/perftest.rb', line 380 def initialize( log ) @log = log end |
Instance Method Details
#<<(msg) ⇒ Object
383 384 385 |
# File 'lib/gravitext-util/perftest.rb', line 383 def <<( msg ) @log.debug( msg ) end |