mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-19 18:32:53 +01:00
Renamed Logger StartLogFile and StopLogFile to Initialie to DeInitialize
This commit is contained in:
@@ -10,7 +10,7 @@ std::ofstream Logger::WriteFileStream;
|
||||
std::streambuf *Logger::CerrStream = NULL;
|
||||
std::streambuf *Logger::CoutStream = NULL;
|
||||
|
||||
bool Logger::StartLogFile(std::string file)
|
||||
bool Logger::Initialize(std::string file)
|
||||
{
|
||||
WriteFileStream.open(file.c_str());
|
||||
|
||||
@@ -20,7 +20,7 @@ bool Logger::StartLogFile(std::string file)
|
||||
return WriteFileStream.is_open();
|
||||
}
|
||||
|
||||
void Logger::CloseLogFile()
|
||||
void Logger::DeInitialize()
|
||||
{
|
||||
if(WriteFileStream.is_open())
|
||||
{
|
||||
|
||||
@@ -20,9 +20,9 @@ public:
|
||||
ZONE_ERROR
|
||||
|
||||
};
|
||||
static bool StartLogFile(std::string file);
|
||||
static bool Initialize(std::string file);
|
||||
static void Write(Zone zone, std::string component, std::string message);
|
||||
static void CloseLogFile();
|
||||
static void DeInitialize();
|
||||
private:
|
||||
|
||||
static std::streambuf *CerrStream;
|
||||
|
||||
Reference in New Issue
Block a user