Class: RSI::XLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/rsi/logmanager.rb

Overview

Trivial extension of Logger, providing it a #write() method. This allows instances of this logger to be used as the argument to Logger#new().

root = XLogger.new( "foo.log" )
other = Logger.new( root )

Instance Method Summary collapse

Instance Method Details

#write(msg) ⇒ Object



39
40
41
# File 'lib/rsi/logmanager.rb', line 39

def write( msg )
  @logdev.write( msg )
end