original_string: protected function logLine($messageType, $messageText)
      {
          switch ($messageType) {
              case Process::ERR:
                  $typeStr = "[Error]";
                  break;
              default:
                  $typeStr = "";
                  break;
          }
  
          echo sprintf("\n%s %s\n", $typeStr, $messageText);
      }
code: protected function logLine($messageType, $messageText)
      {
          switch ($messageType) {
              case Process::ERR:
                  $typeStr = "[Error]";
                  break;
              default:
                  $typeStr = "";
                  break;
          }
  
          echo sprintf("\n%s %s\n", $typeStr, $messageText);
      }
code_tokens: protected function logLine ( $ messageType , $ messageText ) { switch ( $ messageType ) { case Process :: ERR : $ typeStr = "[Error]" ; break ; default : $ typeStr = "" ; break ; } echo sprintf ( "\n%s %s\n" , $ typeStr , $ messageText ) ; }
docstring: logs a line from the command output
  @return [type]
docstring_tokens: logs a line from the command output