Files
MuditaOS/module-utils/test/test_log2.cpp
2020-10-20 12:55:10 +02:00

30 lines
583 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
/*
* unittest_log2.cpp
*
* Created on: 29 kwi 2019
* Author: robert
*/
#include "log/log.hpp"
#include <iostream>
#include <string>
using namespace std;
int log_test_function()
{
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");
return 0;
}