flux sdk  v01.02.02-3-g292b3a7
Embedded C++ SDK
Loading...
Searching...
No Matches
flxCoreLog.h File Reference
#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 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 flxLog_V(format, ...)
 
#define flxLog_D(format, ...)
 
#define flxLog_V_(format, ...)
 
#define flxLog_D_(format, ...)
 
#define flxLogM_V(format, ...)
 
#define flxLogM_D(format, ...)
 
#define flxLogM_V_(format, ...)
 
#define flxLogM_D_(format, ...)
 

Enumerations

enum  flxLogLevel_t {
  flxLogError = 0 , flxLogWarning , flxLogNone , flxLogInfo ,
  flxLogDebug , flxLogVerbose
}
 

Functions

 flxDefineEventID (kLogErrWarn)
 

Variables

flxLoggingflxLog
 

Macro Definition Documentation

◆ flxLog__

#define flxLog__ (   type,
  format,
  ... 
)    flxLog.logPrintf(type, true, format, ##__VA_ARGS__)

◆ flxLog_D

#define flxLog_D (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLog_D_

#define flxLog_D_ (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLog_E

#define flxLog_E (   format,
  ... 
)    flxLog.logPrintf(flxLogError, true, format, ##__VA_ARGS__)

◆ flxLog_E_

#define flxLog_E_ (   format,
  ... 
)    flxLog.logPrintf(flxLogError, false, format, ##__VA_ARGS__)

◆ flxLog_I

#define flxLog_I (   format,
  ... 
)    flxLog.logPrintf(flxLogInfo, true, format, ##__VA_ARGS__)

◆ flxLog_I_

#define flxLog_I_ (   format,
  ... 
)    flxLog.logPrintf(flxLogInfo, false, format, ##__VA_ARGS__)

◆ flxLog_N

#define flxLog_N (   format,
  ... 
)    flxLog.logPrintf(flxLogNone, true, format, ##__VA_ARGS__)

◆ flxLog_N_

#define flxLog_N_ (   format,
  ... 
)    flxLog.logPrintf(flxLogNone, false, format, ##__VA_ARGS__)

◆ flxLog_V

#define flxLog_V (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLog_V_

#define flxLog_V_ (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLog_W

#define flxLog_W (   format,
  ... 
)    flxLog.logPrintf(flxLogWarning, true, format, ##__VA_ARGS__)

◆ flxLog_W_

#define flxLog_W_ (   format,
  ... 
)    flxLog.logPrintf(flxLogWarning, false, format, ##__VA_ARGS__)

◆ flxLogM__

#define flxLogM__ (   type,
  format,
  ... 
)    flxLog.logPrintf(type, true, (const int)format, ##__VA_ARGS__)

◆ flxLogM_D

#define flxLogM_D (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLogM_D_

#define flxLogM_D_ (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLogM_E

#define flxLogM_E (   format,
  ... 
)    flxLog.logPrintf(flxLogError, true, (const int)format, ##__VA_ARGS__)

◆ flxLogM_E_

#define flxLogM_E_ (   format,
  ... 
)    flxLog.logPrintf(flxLogError, false, (const int)format, ##__VA_ARGS__)

◆ flxLogM_I

#define flxLogM_I (   format,
  ... 
)    flxLog.logPrintf(flxLogInfo, true, (const int)format, ##__VA_ARGS__)

◆ flxLogM_I_

#define flxLogM_I_ (   format,
  ... 
)    flxLog.logPrintf(flxLogInfo, false, (const int)format, ##__VA_ARGS__)

◆ flxLogM_N

#define flxLogM_N (   format,
  ... 
)    flxLog.logPrintf(flxLogNone, true, (const int)format, ##__VA_ARGS__)

◆ flxLogM_N_

#define flxLogM_N_ (   format,
  ... 
)    flxLog.logPrintf(flxLogNone, false, (const int)format, ##__VA_ARGS__)

◆ flxLogM_V

#define flxLogM_V (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLogM_V_

#define flxLogM_V_ (   format,
  ... 
)
Value:
do \
{ \
} while (0)

◆ flxLogM_W

#define flxLogM_W (   format,
  ... 
)    flxLog.logPrintf(flxLogWarning, true, (const int)format, ##__VA_ARGS__)

◆ flxLogM_W_

#define flxLogM_W_ (   format,
  ... 
)    flxLog.logPrintf(flxLogWarning, false, (const int)format, ##__VA_ARGS__)

◆ SP_LOGGING_ENABLED

#define SP_LOGGING_ENABLED

Enumeration Type Documentation

◆ flxLogLevel_t

Enumerator
flxLogError 
flxLogWarning 
flxLogNone 
flxLogInfo 
flxLogDebug 
flxLogVerbose 

Function Documentation

◆ flxDefineEventID()

flxDefineEventID ( kLogErrWarn  )

Variable Documentation

◆ flxLog

flxLogging& flxLog
extern