Method: Xssh::Connection#disable_log

Defined in:
lib/xssh/connection.rb

#disable_log(log = $stdout) ⇒ Object



253
254
255
256
257
258
259
# File 'lib/xssh/connection.rb', line 253

def disable_log(log = $stdout)
  @loggers.delete(log)
  if block_given?
    yield
    enable_log(log)
  end
end