Module: MasterView::MIO::ReadWriteLoggingMIOFilter

Defined in:
lib/masterview/io.rb

Overview

todo

Instance Method Summary collapse

Instance Method Details

#read(options = {}) ⇒ Object



400
401
402
403
# File 'lib/masterview/io.rb', line 400

def read(options={})
  Log.debug { "reading file="+self.full_pathname } unless options[:disable_logging]
  super
end

#write(content = nil, options = {}, &block) ⇒ Object



405
406
407
408
# File 'lib/masterview/io.rb', line 405

def write(content = nil, options = {}, &block)
  Log.debug { "writing file="+self.full_pathname } unless options[:disable_logging]
  super
end