![]() |
flux sdk
v01.05.00-3-gedf3296
Embedded C++ SDK
|
#include <WString.h>#include <map>#include <stdarg.h>#include <stdexcept>#include <vector>#include "flxCoreEventID.h"#include "flxCoreInterface.h"#include "flxCoreMsg.h"Classes | |
| class | flxLoggingDriver |
| class | flxLoggingDrvDefault |
| class | flxLogging |
Macros | |
| #define | SP_LOGGING_ENABLED |
| #define | flxLog_I(format, ...) flxLog.logPrintf(flxLogInfo, true, format, ##__VA_ARGS__) |
| #define | flxLog_W(format, ...) flxLog.logPrintf(flxLogWarning, true, format, ##__VA_ARGS__) |
| #define | flxLog_E(format, ...) flxLog.logPrintf(flxLogError, true, format, ##__VA_ARGS__) |
| #define | flxLog_N(format, ...) flxLog.logPrintf(flxLogNone, true, format, ##__VA_ARGS__) |
| #define | flxLog__(type, format, ...) flxLog.logPrintf(type, true, format, ##__VA_ARGS__) |
| #define | flxLog_I_(format, ...) flxLog.logPrintf(flxLogInfo, false, format, ##__VA_ARGS__) |
| #define | flxLog_W_(format, ...) flxLog.logPrintf(flxLogWarning, false, format, ##__VA_ARGS__) |
| #define | flxLog_E_(format, ...) flxLog.logPrintf(flxLogError, false, format, ##__VA_ARGS__) |
| #define | flxLog_N_(format, ...) flxLog.logPrintf(flxLogNone, false, format, ##__VA_ARGS__) |
| #define | flxLog___(type, format, ...) flxLog.logPrintf(type, false, format, ##__VA_ARGS__) |
| #define | flxLogM_I(format, ...) flxLog.logPrintf(flxLogInfo, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_W(format, ...) flxLog.logPrintf(flxLogWarning, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_E(format, ...) flxLog.logPrintf(flxLogError, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_N(format, ...) flxLog.logPrintf(flxLogNone, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM__(type, format, ...) flxLog.logPrintf(type, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_I_(format, ...) flxLog.logPrintf(flxLogInfo, false, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_W_(format, ...) flxLog.logPrintf(flxLogWarning, false, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_E_(format, ...) flxLog.logPrintf(flxLogError, false, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_N_(format, ...) flxLog.logPrintf(flxLogNone, false, (const int)format, ##__VA_ARGS__) |
| #define | SP_DEBUG_LOGGING_ENABLED |
| #define | flxLog_V(format, ...) flxLog.logPrintf(flxLogVerbose, true, format, ##__VA_ARGS__) |
| #define | flxLog_D(format, ...) flxLog.logPrintf(flxLogDebug, true, format, ##__VA_ARGS__) |
| #define | flxLog_V_(format, ...) flxLog.logPrintf(flxLogVerbose, false, format, ##__VA_ARGS__) |
| #define | flxLog_D_(format, ...) flxLog.logPrintf(flxLogDebug, false, format, ##__VA_ARGS__) |
| #define | flxLogM_V(format, ...) flxLog.logPrintf(flxLogVerbose, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_D(format, ...) flxLog.logPrintf(flxLogDebug, true, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_V_(format, ...) flxLog.logPrintf(flxLogVerbose, false, (const int)format, ##__VA_ARGS__) |
| #define | flxLogM_D_(format, ...) flxLog.logPrintf(flxLogDebug, false, (const int)format, ##__VA_ARGS__) |
Enumerations | |
| enum | flxLogLevel_t { flxLogError = 0 , flxLogWarning , flxLogNone , flxLogInfo , flxLogDebug , flxLogVerbose } |
Functions | |
| flxDefineEventID (kLogErrWarn) | |
| void | flxSetLoggingVerbose (void) |
| bool | flxIsLoggingVerbose (void) |
| void | flxSetLoggingInfo (void) |
| bool | flxIsLoggingInfo (void) |
| void | flxSetLoggingDebug (void) |
| bool | flxIsLoggingDebug (void) |
Variables | |
| flxLogging & | flxLog |
| #define flxLog_D | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogDebug, true, format, ##__VA_ARGS__) |
| #define flxLog_D_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogDebug, false, format, ##__VA_ARGS__) |
| #define flxLog_E | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogError, true, format, ##__VA_ARGS__) |
| #define flxLog_E_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogError, false, format, ##__VA_ARGS__) |
| #define flxLog_I | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogInfo, true, format, ##__VA_ARGS__) |
| #define flxLog_I_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogInfo, false, format, ##__VA_ARGS__) |
| #define flxLog_N | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogNone, true, format, ##__VA_ARGS__) |
| #define flxLog_N_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogNone, false, format, ##__VA_ARGS__) |
| #define flxLog_V | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogVerbose, true, format, ##__VA_ARGS__) |
| #define flxLog_V_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogVerbose, false, format, ##__VA_ARGS__) |
| #define flxLog_W | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogWarning, true, format, ##__VA_ARGS__) |
| #define flxLog_W_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogWarning, false, format, ##__VA_ARGS__) |
| #define flxLogM__ | ( | type, | |
| format, | |||
| ... | |||
| ) | flxLog.logPrintf(type, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_D | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogDebug, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_D_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogDebug, false, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_E | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogError, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_E_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogError, false, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_I | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogInfo, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_I_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogInfo, false, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_N | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogNone, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_N_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogNone, false, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_V | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogVerbose, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_V_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogVerbose, false, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_W | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogWarning, true, (const int)format, ##__VA_ARGS__) |
| #define flxLogM_W_ | ( | format, | |
| ... | |||
| ) | flxLog.logPrintf(flxLogWarning, false, (const int)format, ##__VA_ARGS__) |
| #define SP_DEBUG_LOGGING_ENABLED |
| #define SP_LOGGING_ENABLED |
| enum flxLogLevel_t |
| flxDefineEventID | ( | kLogErrWarn | ) |
| bool flxIsLoggingDebug | ( | void | ) |
| bool flxIsLoggingInfo | ( | void | ) |
| bool flxIsLoggingVerbose | ( | void | ) |
| void flxSetLoggingDebug | ( | void | ) |
| void flxSetLoggingInfo | ( | void | ) |
| void flxSetLoggingVerbose | ( | void | ) |
|
extern |