MultiTech / MTS-Utils

Dependents:   mtsas mtsas thermostat_fan_demo--fan mtsas ... more

NOTE: MTS-Utils has moved to GitHub. This version will not be updated. For updates, go to the GitHub version.

Revision:
13:4709c2dfcd11
Parent:
6:fca9bc67b15f
Child:
14:1d88cf5266c8
diff -r 7818d55b35c6 -r 4709c2dfcd11 MTSLog.h
--- a/MTSLog.h	Mon Mar 23 16:37:56 2015 -0500
+++ b/MTSLog.h	Mon Jun 08 15:30:12 2015 -0500
@@ -49,17 +49,17 @@
 
     /** Print log message.
      */
-    static void printMessage(MTSLog::logLevel level, const char* format, ...);
+    static void printMessage(int level, const char* format, ...);
 
     /** Determine if the given level is currently printable.
      */
-    static bool printable(MTSLog::logLevel level);
+    static bool printable(int level);
 
     /** Set log level
      * Messages with lower priority than the current level will not be printed.
      * If the level is set to NONE, no messages will print.
      */
-    static void setLogLevel(MTSLog::logLevel level);
+    static void setLogLevel(int level);
 
     /** Get the current log level.
      */