module Net::SSH::Loggable

def info

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