code: public function print()
      {
          $method = str_pad($this->method, 6, ' ');
          $color = '32';
          if ($this->code >= 300 && $this->code < 400) {
              $color = '33';
          } elseif ($this->code >= 400) {
              $color = '31';
          }
  
          echo "\033[01;{$color}m".$this->code."\033[0m";
          echo " $method $this->url ";
          echo "(\e[00;37m".$this->elapsedTime.' ms | '.((int) (memory_get_usage() / 1000000))." MB\e[0m)";
          if ($this->code >= 300) {
              echo " - \e[00;37m".$this->messageInMessage($this->message)."\e[0m";
          }
          echo PHP_EOL;
      }
docs: Print.