Monitor for central heating system (e.g. 2zones+hw) Supports up to 15 temp probes (DS18B20/DS18S20) 3 valve monitors Gas pulse meter recording Use stand-alone or with nodeEnergyServer See http://robdobson.com/2015/09/central-heating-monitor

Dependencies:   EthernetInterfacePlusHostname NTPClient Onewire RdWebServer SDFileSystem-RTOS mbed-rtos mbed-src

Revision:
12:a52996515063
Child:
20:7933076df5af
diff -r 30182b9aa833 -r a52996515063 Logger.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Logger.h	Sun Feb 22 22:08:37 2015 +0000
@@ -0,0 +1,22 @@
+// Log to SD
+// Rob Dobson, 2015
+
+#ifndef __LOGGER__H
+#define __LOGGER__H
+#include "mbed.h"
+#include <stdarg.h>
+
+class Logger
+{
+    public:
+        Logger(const char* eventLogFileName, const char* dataLogFileBase);
+        void LogEvent(const char* format, ...);
+        void LogData(const char* format, ...);
+
+    private:
+        const char* _eventLogFileName;
+        const char* _dataLogFileBase;
+};
+
+
+#endif
\ No newline at end of file