Final test succeded

The logging system is now ready for later versions.
This commit is contained in:
dmarakom6 2021-01-04 14:37:07 +02:00
parent 2882704b89
commit 62bb92fe42

View file

@ -1,17 +0,0 @@
#include <iostream>
#include <fstream>
#include <ctime>
using namespace std;
int main()
{
time_t now = time(0);
char* dt = ctime(&now);
ofstream sdfailed;
std::ofstream outfile ("../../logs/sdfailed.txt", std::ios_base::app);
outfile << "INVALID PATH FOR DEFAULT EDITOR/FOLDER IN " << dt << "\n";
outfile.close();
return 0;
}