original_string: public function process_logstore_database_log($data) {
          // Do not bother processing if we can not add it to a database.
          if (!self::$extdb || !self::$extdbtablename) {
              return;
          }
  
          $data = $this->process_log($data, get_config('logstore_database', 'jsonformat'));
  
          if ($data) {
              self::$extdb->insert_record(self::$extdbtablename, $data);
          }
      }
code: public function process_logstore_database_log($data) {
          // Do not bother processing if we can not add it to a database.
          if (!self::$extdb || !self::$extdbtablename) {
              return;
          }
  
          $data = $this->process_log($data, get_config('logstore_database', 'jsonformat'));
  
          if ($data) {
              self::$extdb->insert_record(self::$extdbtablename, $data);
          }
      }
code_tokens: public function process_logstore_database_log ( $ data ) { // Do not bother processing if we can not add it to a database. if ( ! self :: $ extdb || ! self :: $ extdbtablename ) { return ; } $ data = $ this -> process_log ( $ data , get_config ( 'logstore_database' , 'jsonformat' ) ) ; if ( $ data ) { self :: $ extdb -> insert_record ( self :: $ extdbtablename , $ data ) ; } }
docstring: Process logstore_database_log entries.
  
  This method proceeds to read, complete, remap and, finally,
  discard or save every log entry.
  
  @param array() $data log entry.
  @return null if we are not restoring the log.
docstring_tokens: Process logstore_database_log entries .