skullc-peripherals/Utility/Inc/utility_itmlogger.hpp
Erki d945e7a799
Some checks failed
continuous-integration/drone/push Build is failing
Add basic logging framework with a global logger
2021-03-20 23:22:17 +02:00

31 lines
466 B
C++

//
// Created by erki on 14.03.21.
//
#ifndef SKULLC_UTILITY_ITMLOGGER_HPP_
#define SKULLC_UTILITY_ITMLOGGER_HPP_
#include "utility_logging.hpp"
#include <array>
namespace Utility
{
class ITMLogger : public ILogger
{
public:
ITMLogger() = default;
ITMLogger(const ITMLogger&) = delete;
ITMLogger(ITMLogger&&) = delete;
void log(const char* format, ...) override;
private:
std::array<char, 255> _buffer;
};
}
#endif //SKULLC_UTILITY_ITMLOGGER_HPP_