Add logger component (no op atm)

This commit is contained in:
2025-05-26 14:43:52 -04:00
parent 58b57e5c57
commit 6a3e13fba1
3 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
idf_component_register(SRCS "logger.cpp"
PRIV_REQUIRES
INCLUDE_DIRS "include")

View File

@@ -0,0 +1,20 @@
//
// Created by Johnathon Slightham on 2025-05-26.
//
#ifndef LOGGER_H
#define LOGGER_H
class Logger {
public:
static Logger &getInstance() {
static Logger instance;
return instance;
}
private:
virtual Logger();
}
#endif //LOGGER_H

View File

@@ -0,0 +1,3 @@
//
// Created by Johnathon Slightham on 2025-05-26.
//