module Net::SSH::Loggable

def debug

greater.
Displays the result of yielding if the log level is Logger::DEBUG or
def debug
  logger.add(Logger::DEBUG, nil, facility) { yield } if logger && logger.debug?
end