protected function write($data, $log_type)
    {
        return file_put_contents($this->getLogPath($log_type)
            .date('Y_m_d').'.log', "\n\n".\date('Y/m/d H:i:s')
            ."\t".$this->agent_str
            ."\n".$data, \FILE_APPEND);
    }