Class: Gravitext::PerfTest::LogListener::LogWriter

Inherits:
Object
  • Object
show all
Defined in:
lib/gravitext-util/perftest.rb

Overview

Send <<() to log.debug

Instance Method Summary collapse

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