Files
MuditaOS/module-utils/board/linux/log_linux.cpp
Adam Dobrowolski 3e57a07b43 [EGD-7495] Fixed log use on Linux to be the same as on Rt1051
- Log headers were incomplete
- Log filtering was broken on linux
2021-09-06 09:12:21 +02:00

22 lines
500 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include <log.hpp>
#include <Logger.hpp>
#include <iostream>
#include <string_view>
#include <ticks.hpp>
namespace Log
{
void Logger::logToDevice(const char *, va_list)
{
assert(false && "Not implemented");
}
void Logger::logToDevice(Device, std::string_view logMsg, size_t)
{
std::cout << logMsg;
}
} // namespace Log