#include <vector>
#include "misc_os_dependent.h"
#include "perf_timer.h"
Go to the source code of this file.
|
| namespace | tools |
| | Various Tools.
|
◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY
| #define ELECTRONEUM_DEFAULT_LOG_CATEGORY "perf" |
◆ PERF_LOG
| #define PERF_LOG |
( |
| level, |
|
|
| cat, |
|
|
| x ) |
Value:do { \
} while(0)
#define PERF_LOG_ALWAYS(level, cat, x)
Definition at line 39 of file perf_timer.cpp.
39#define PERF_LOG(level, cat, x) \
40 do { \
41 if (ELPP->vRegistry()->allowed(level, cat)) PERF_LOG_ALWAYS(level, cat, x); \
42 } while(0)
◆ PERF_LOG_ALWAYS
| #define PERF_LOG_ALWAYS |
( |
| level, |
|
|
| cat, |
|
|
| x ) |
Value:
Main entry point of each logging.
Writer & construct(Logger *logger, bool needLock=true)
Definition at line 37 of file perf_timer.cpp.
37#define PERF_LOG_ALWAYS(level, cat, x) \
38 el::base::Writer(level, __FILE__, __LINE__, ELPP_FUNC, el::base::DispatchAction::FileOnlyLog).construct(cat) << x