original_string: public function format(array $record): string
      {
          if (!empty($this->hostname)) {
              $record["hostname"] = $this->hostname;
          }
          if (!empty($this->appname)) {
              $record["appname"] = $this->appname;
          }
  
          $record["@marker"] = static::MARKERS;
  
          return parent::format($record);
      }
code: public function format(array $record): string
      {
          if (!empty($this->hostname)) {
              $record["hostname"] = $this->hostname;
          }
          if (!empty($this->appname)) {
              $record["appname"] = $this->appname;
          }
  
          $record["@marker"] = static::MARKERS;
  
          return parent::format($record);
      }
code_tokens: public function format ( array $ record ) : string { if ( ! empty ( $ this -> hostname ) ) { $ record [ "hostname" ] = $ this -> hostname ; } if ( ! empty ( $ this -> appname ) ) { $ record [ "appname" ] = $ this -> appname ; } $ record [ "@marker" ] = static :: MARKERS ; return parent :: format ( $ record ) ; }
docstring: Appends the 'hostname' and 'appname' parameter for indexing by Logmatic.
  
  @see http://doc.logmatic.io/docs/basics-to-send-data
  @see \Monolog\Formatter\JsonFormatter::format()
docstring_tokens: Appends the hostname and appname parameter for indexing by Logmatic .