InfiniTime/src/logging/NrfLogger.h

20 lines
323 B
C
Raw Normal View History

2019-11-17 19:47:04 +00:00
#pragma once
#include "Logger.h"
2020-11-15 14:05:51 +00:00
#include <FreeRTOS.h>
#include <task.h>
2019-11-17 19:47:04 +00:00
namespace Pinetime {
namespace Logging {
2019-11-17 19:47:04 +00:00
class NrfLogger : public Logger {
public:
void Init() override;
void Resume() override;
2019-11-17 19:47:04 +00:00
private:
static void Process(void*);
TaskHandle_t m_logger_thread;
2019-11-17 19:47:04 +00:00
};
}
}