summaryrefslogtreecommitdiff
path: root/test/loggerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/loggerTest.cpp')
-rw-r--r--test/loggerTest.cpp57
1 files changed, 0 insertions, 57 deletions
diff --git a/test/loggerTest.cpp b/test/loggerTest.cpp
deleted file mode 100644
index fab2f25..0000000
--- a/test/loggerTest.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-#include "../include/logger.hpp"
-
-class Two {
-
- public:
- Two() {
-
- }
-
- void WritetoLog() {
- Logger::Get().log("THIS IS A NEEEEEWWWW TEST!!!!!");
- Logger::Get().logErr("ERRORRRRRRRR");
- Logger::Get().printLog();
- }
-
- void TryPrint() {
- Logger::Get().printLog();
- }
-};
-
-class One {
-
- public:
- Two two;
- One() {
- two = Two();
- }
-
- void OpenLog() {
- Logger::Get().openLog("output.txt");
- two.WritetoLog();
- Logger::Get().closeLog();
- two.TryPrint();
- }
-};
-
-
-
-
-int main(int argc, char* argv[]) {
-
- // Logger::Get().openLog("output.txt");
- // Logger::Get().log("Testing Info aksdjflkas lksajfdlasjfaowe aslkdjf alskjf asodfj03945430 0349534 5039485 345");
- // Logger::Get().log("Testing Info Just some stuff");
- // Logger::Get().log("Testing something words words words");
- // Logger::Get().logErr("Testing Error lksdj fa 3459374");
- // Logger::Get().log("Testing blah blah blah blah blah lbal lab lbas labal abala");
- // Logger::Get().log("Testing Info aksdjflkas l11111111111111111111111111111111111111111485 345");
- // Logger::Get().logErr("Testing Error Some other type of error");
- // Logger::Get().logErr("Testing Error Another one");
- // Logger::Get().closeLog();
- // //log.printLog();
-
- One one = One();
- one.OpenLog();
-
-} \ No newline at end of file