#include "../global.h"
#include <framework/stdext/thread.h>
#include <fstream>
Go to the source code of this file.
|
| #define | trace() logFunc(Fw::LogDebug, "", __PRETTY_FUNCTION__) |
| |
| #define | traceDebug(a) logFunc(Fw::LogDebug, a, __PRETTY_FUNCTION__) |
| |
| #define | traceInfo(a) logFunc(Fw::LogInfo, a, __PRETTY_FUNCTION__) |
| |
| #define | traceWarning(a) logFunc(Fw::LogWarning, a, __PRETTY_FUNCTION__) |
| |
| #define | traceError(a) logFunc(Fw::LogError, a, __PRETTY_FUNCTION__) |
| |
| #define | logTraceCounter() |
| |
| #define | logTraceFrameCounter() |
| |
◆ logTraceCounter
| #define logTraceCounter |
( |
| ) |
|
Value: { \
static int __count = 0; \
__count++; \
if(__timer.ticksElapsed() >= 1000) { \
logTraceDebug(__count); \
__count = 0; \
__timer.restart(); \
} \
}
Definition at line 76 of file logger.h.
◆ logTraceFrameCounter
| #define logTraceFrameCounter |
( |
| ) |
|
Value: { \
static int __count = 0; \
__count++; \
if(__timer.ticksElapsed() > 0) { \
logTraceDebug(__count); \
__count = 0; \
__timer.restart(); \
} \
}
Definition at line 87 of file logger.h.
◆ trace
| #define trace |
( |
| ) |
logFunc(Fw::LogDebug, "", __PRETTY_FUNCTION__) |
◆ traceDebug
| #define traceDebug |
( |
|
a | ) |
logFunc(Fw::LogDebug, a, __PRETTY_FUNCTION__) |
◆ traceError
| #define traceError |
( |
|
a | ) |
logFunc(Fw::LogError, a, __PRETTY_FUNCTION__) |
◆ traceInfo
| #define traceInfo |
( |
|
a | ) |
logFunc(Fw::LogInfo, a, __PRETTY_FUNCTION__) |
◆ traceWarning
| #define traceWarning |
( |
|
a | ) |
logFunc(Fw::LogWarning, a, __PRETTY_FUNCTION__) |
◆ g_logger