Added logger.h

This commit is contained in:
2021-11-18 20:49:45 +01:00
parent 8517e431eb
commit c35eac9047
51 changed files with 3919 additions and 0 deletions

22
src/main.cpp Normal file
View File

@@ -0,0 +1,22 @@
#include <iostream>
#include <Logger.h>
class Uart {
public:
void write(char c) {
std::cout << c;
}
private:
};
int main() {
Uart uart;
Logger logger(uart);
logger.log<"Test format string: {} {}">(1, 2, 3);
return 0;
}