Class: Bicho::LoggerIODevice

Inherits:
Object
  • Object
show all
Defined in:
lib/bicho/client.rb

Overview

Helper IO device that forwards to the logger, we use it to debug XMLRPC by monkey patching it

Instance Method Summary collapse

Instance Method Details

#<<(msg) ⇒ Object



41
42
43
# File 'lib/bicho/client.rb', line 41

def <<(msg)
  Bicho::Logging.logger.debug(msg)
end