Final test succeded
The logging system is now ready for later versions.
This commit is contained in:
parent
2882704b89
commit
62bb92fe42
1 changed files with 0 additions and 17 deletions
17
test.cpp
17
test.cpp
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in a new issue