# File lib/net/ssh/loggable.rb, line 42 42: def error 43: logger.add(Logger::ERROR, nil, facility) { yield } if logger && logger.error? 44: end