resonance 1.0.1
Loading...
Searching...
No Matches
filelog.h
Go to the documentation of this file.
1#pragma once
2
3#include <fstream>
4
11constexpr int kFileLogPathSize = 0x40;
12
24extern std::fstream gFileIOLog;
25
32extern int bFileLogging;
33
42extern char logfilename[kFileLogPathSize];
43
53void InitFileIOLog(char *pszPath);
54
64
74void PrintToFileIOLog(const char *pszText);
int bFileLogging
Non-zero while gFileIOLog is open.
void PrintToFileIOLog(const char *pszText)
Write one line to the file log, if it is open.
void CloseFileIOLog()
Close the file log, if it is open.
constexpr int kFileLogPathSize
Bytes of logfilename.
Definition filelog.h:11
char logfilename[kFileLogPathSize]
The path gFileIOLog was opened on.
std::fstream gFileIOLog
The log of the files the file layer opens.
void InitFileIOLog(char *pszPath)
Open the file log.