Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================================
- // Name : loggerTest.cpp
- // Author : Lukasz
- // Version :
- // Copyright : Your copyright notice
- // Description : Hello World in C++, Ansi-style
- //============================================================================
- #include <iostream>
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
- #include "CLogger.h"
- using namespace std;
- int main()
- {
- CLogger::instance().logger.startLog("/home/lukasz/Pulpit/test.txt", true);
- CLogger::instance().logger.setLogLevel(CLogger::ElogLevel::eDebug);
- CLogger::instance().logger << "test string!";
- CLogger::instance().logger.stopLog();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement