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 {
|
2021-04-18 17:28:14 +00:00
|
|
|
namespace Logging {
|
2019-11-17 19:47:04 +00:00
|
|
|
class NrfLogger : public Logger {
|
2021-04-18 17:28:14 +00:00
|
|
|
public:
|
|
|
|
void Init() override;
|
|
|
|
void Resume() override;
|
2019-11-17 19:47:04 +00:00
|
|
|
|
2021-04-18 17:28:14 +00:00
|
|
|
private:
|
|
|
|
static void Process(void*);
|
|
|
|
TaskHandle_t m_logger_thread;
|
2019-11-17 19:47:04 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|