public function sync()
    {
        $this->sync_single_log($this->_messages, '');
        $this->sync_single_log($this->_debugs, '_debug');
        $this->sync_single_log($this->_errors, '_error');
    }