protected function sync_single_log(&$buffer, $suffix)
    {
        if ( ! empty($buffer))
        {
            $this->write($buffer, $this->dir . $this->prefix . $suffix . '.log');
            $buffer = array();
        }
    }