Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.
Diff: MTSLog.h
- Revision:
- 13:4709c2dfcd11
- Parent:
- 6:fca9bc67b15f
- Child:
- 14:1d88cf5266c8
--- 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. */