mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-24 05:47:58 -05:00
30 lines
583 B
C++
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;
|
|
}
|