Advertisement
bremenpl

Untitled

Jun 26th, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. //============================================================================
  2. // Name        : loggerTest.cpp
  3. // Author      : Lukasz
  4. // Version     :
  5. // Copyright   : Your copyright notice
  6. // Description : Hello World in C++, Ansi-style
  7. //============================================================================
  8.  
  9. #include <iostream>
  10. #include <stdio.h>
  11. #include <stdlib.h>
  12. #include <unistd.h>
  13. #include "CLogger.h"
  14.  
  15.  
  16. using namespace std;
  17.  
  18. int main()
  19. {
  20.     CLogger::instance().logger.startLog("/home/lukasz/Pulpit/test.txt", true);
  21.     CLogger::instance().logger.setLogLevel(CLogger::ElogLevel::eDebug);
  22.  
  23.     CLogger::instance().logger << "test string!";
  24.  
  25.     CLogger::instance().logger.stopLog();
  26.  
  27.  
  28.     return 0;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement