original_string: public function process(\core\event\base $event) {
          $this->init();
          foreach ($this->writers as $plugin => $writer) {
              try {
                  $writer->write($event, $this);
              } catch (\Exception $e) {
                  debugging('Exception detected when logging event ' . $event->eventname . ' in ' . $plugin . ': ' .
                      $e->getMessage(), DEBUG_NORMAL, $e->getTrace());
              }
          }
      }
code: public function process(\core\event\base $event) {
          $this->init();
          foreach ($this->writers as $plugin => $writer) {
              try {
                  $writer->write($event, $this);
              } catch (\Exception $e) {
                  debugging('Exception detected when logging event ' . $event->eventname . ' in ' . $plugin . ': ' .
                      $e->getMessage(), DEBUG_NORMAL, $e->getTrace());
              }
          }
      }
code_tokens: public function process ( \ core \ event \ base $ event ) { $ this -> init ( ) ; foreach ( $ this -> writers as $ plugin => $ writer ) { try { $ writer -> write ( $ event , $ this ) ; } catch ( \ Exception $ e ) { debugging ( 'Exception detected when logging event ' . $ event -> eventname . ' in ' . $ plugin . ': ' . $ e -> getMessage ( ) , DEBUG_NORMAL , $ e -> getTrace ( ) ) ; } } }
docstring: Called from the observer only.
  
  @param \core\event\base $event
docstring_tokens: Called from the observer only .