# File lib/sshkit/formatters/pretty.rb, line 25 def log_command_data(command, stream_type, stream_data) color = \ case stream_type when :stdout then :green when :stderr then :red else raise "Unrecognised stream_type #{stream_type}, expected :stdout or :stderr" end write_message(Logger::DEBUG, colorize("\t#{stream_data}".chomp, color), command.uuid) end