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