Official reference client implementation for Cumulocity SmartREST on u-blox C027.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: logging/logging.h
- Revision:
- 72:c5709ae7b193
- Child:
- 73:313975bfec96
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logging/logging.h Mon Feb 16 13:15:52 2015 +0000 @@ -0,0 +1,23 @@ +#ifndef LOGGING_H +#define LOGGING_H + +/* Enumeration of logging levels. + Logging levels below have higher severity than the above levels. + */ +enum aLogLevel{ + A_DEBUG=10, + A_WARNING=20, + A_INFO=30, + A_ERROR=40, + A_CRITICAL=50 +}; + +int aDebug(const char *fmt, ...); +int aCritical(const char *fmt, ...); +int aError(const char *fmt, ...); +int aInfo(const char *fmt, ...); +int aWarning(const char *fmt, ...); + +aLogLevel getLevel(); +void setLevel(aLogLevel lvl); +#endif /* LOGGING_H */