3rd Repo, trying to figure this out.

Dependencies:   LPS25H hts221

Fork of SOFT253_Template_Weather_OS_54 by Stage-1 Students SoCEM

Revision:
77:db3384071634
Parent:
76:ee1f132e5744
Child:
79:4e6b53eb678b
--- a/MessageLogger/MessageLogger.h	Wed Apr 26 10:00:19 2017 +0000
+++ b/MessageLogger/MessageLogger.h	Wed Apr 26 21:58:08 2017 +0000
@@ -11,15 +11,15 @@
         MessageLogger();
        
         // public methods:
-        void SendError(char* errorMessage);
-        void SendMessage(char* message);
+        void SendError(string errorMessage);
+        void SendMessage(const string message);
         bool GetError();
         bool GetMessage();
         void SetThread(Thread* logger);
         
     private:
         Thread* loggingThread;
-        char* fatalError;
+        ostringstream fatalError;
         int messageCount;
         bool hasError;
         osStatus stat;