~aleteoryx/muditaos

ref: 0823d82e5141f44812c54debf07245d0ca746124 muditaos/module-utils/test/test_log.cpp -rw-r--r-- 533 bytes
0823d82e — Radoslaw Wicik [EGD-3743] Update copyrights in fies - add empty line after license 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * unittest_log.cpp
 *
 *  Created on: 29 kwi 2019
 *      Author: robert
 */

#include "log/log.hpp"

#include <iostream>
#include <string>

#include "test_log2.h"

using namespace std;

int main()
{

    cout << "RUNNING UNIT TEST FOR LOG" << endl;

    LOG_TRACE("This should be blue");
    LOG_DEBUG("This should be navy blue");
    LOG_INFO("This should be green");
    LOG_WARN("This should be yellow");
    LOG_ERROR("This should be red");
    LOG_FATAL("This should be purple");

    log_test_function();

    return 0;
}