Home | History | Annotate | Download | only in base

Lines Matching refs:log_file

104 FileHandle log_file = NULL;
171 PathString log_file = module_name;
173 log_file.rfind('\\', log_file.size());
175 log_file.erase(last_backslash + 1);
176 log_file += L"debug.log";
177 return log_file;
301 if (log_file)
312 log_file = CreateFile(log_file_name->c_str(), GENERIC_WRITE,
315 if (log_file == INVALID_HANDLE_VALUE || log_file == NULL) {
317 log_file = CreateFile(L".\\debug.log", GENERIC_WRITE,
320 if (log_file == INVALID_HANDLE_VALUE || log_file == NULL) {
321 log_file = NULL;
325 SetFilePointer(log_file, 0, 0, FILE_END);
327 log_file = fopen(log_file_name->c_str(), "a");
328 if (log_file == NULL)
345 if (!log_file)
348 CloseFile(log_file);
349 log_file = NULL;
356 log_file(NULL),
390 LoggingLock::Init(settings.lock_log, settings.log_file);
399 *log_file_name = settings.log_file;
628 SetFilePointer(log_file, 0, 0, SEEK_END);
630 WriteFile(log_file,
636 fprintf(log_file, "%s", str_newline.c_str());
637 fflush(log_file);