Home | History | Annotate | Download | only in base

Lines Matching refs:log_file

104 FileHandle log_file = NULL;
168 PathString log_file = module_name;
170 log_file.rfind('\\', log_file.size());
172 log_file.erase(last_backslash + 1);
173 log_file += L"debug.log";
174 return log_file;
298 if (log_file)
309 log_file = CreateFile(log_file_name->c_str(), GENERIC_WRITE,
312 if (log_file == INVALID_HANDLE_VALUE || log_file == NULL) {
314 log_file = CreateFile(L".\\debug.log", GENERIC_WRITE,
317 if (log_file == INVALID_HANDLE_VALUE || log_file == NULL) {
318 log_file = NULL;
322 SetFilePointer(log_file, 0, 0, FILE_END);
324 log_file = fopen(log_file_name->c_str(), "a");
325 if (log_file == NULL)
342 if (!log_file)
345 CloseFile(log_file);
346 log_file = NULL;
353 log_file(NULL),
385 LoggingLock::Init(settings.lock_log, settings.log_file);
394 *log_file_name = settings.log_file;
609 SetFilePointer(log_file, 0, 0, SEEK_END);
611 WriteFile(log_file,
618 str_newline.data(), str_newline.size(), 1, log_file));
619 fflush(log_file);