no message
parent
6865afce40
commit
4c10d2ed2d
|
@ -67,8 +67,14 @@ void _C_Loger::operator<<(const string& wb){
|
|||
if (this->mFile == nullptr){
|
||||
this->error = true;
|
||||
}
|
||||
|
||||
string tmp = getTime();
|
||||
tmp += ":";
|
||||
tmp += wb;
|
||||
tmp += " \n";
|
||||
fwrite(tmp.c_str(),tmp.size(),1,this->mFile);
|
||||
fflush(this->mFile);
|
||||
}
|
||||
fprintf(this->mFile,wb.c_str(),wb.size());
|
||||
}
|
||||
|
||||
bool file_existed(string path) {
|
||||
|
|
Loading…
Reference in New Issue