Skip to content

Reimplement logging library to remove dependency #4

Description

@nijotz

Arduino-logging-library also has an error that I have to fix:

diff --git a/Logging.cpp b/Logging.cpp
index aede239..b96a33c 100644
--- a/Logging.cpp
+++ b/Logging.cpp
@@ -8,8 +8,8 @@ void Logging::Init(int level, long baud){

 void Logging::Error(char* msg, ...){
     if (LOG_LEVEL_ERRORS <= _level) {
-               print ("ERROR: ",0);
         va_list args;
+               print ("ERROR: ", args);
         va_start(args, msg);
         print(msg,args);
     }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions