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.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: logging/logging.h
- Revision:
- 77:f6717e4eccc4
- Parent:
- 75:d4535238db18
diff -r b07effe83fb8 -r f6717e4eccc4 logging/logging.h
--- a/logging/logging.h Wed Feb 25 10:06:11 2015 +0000
+++ b/logging/logging.h Tue Mar 03 14:10:09 2015 +0000
@@ -5,11 +5,12 @@
Logging levels below have higher severity than the above levels.
*/
enum aLogLevel{
- A_DEBUG=10,
- A_INFO=20,
- A_WARNING=30,
- A_ERROR=40,
- A_CRITICAL=50
+ A_DEBUG=1,
+ A_INFO,
+ A_WARNING,
+ A_ERROR,
+ A_CRITICAL,
+ A_NONE // No logging
};
/* All logging functions.
@@ -25,4 +26,6 @@
aLogLevel getLevel();
void setLevel(aLogLevel lvl);
+void higherOneLevel(); // Set log level one severity higher (terser), does nothing when already highest
+void lowerOneLevel(); // Set log level one severity lower (chattier), does nothing when already lowerest
#endif /* LOGGING_H */
