diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-09-24 10:05:21 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-09-24 10:05:21 -0500 |
commit | 8c41d36a083da4ffb4ec406e56c888d0105abc08 (patch) | |
tree | 0c43572414addbdef286799b297f4648c60d407d /src/common | |
parent | Merge pull request #5848 (diff) | |
parent | Properly format multiline logs (diff) | |
download | monero-8c41d36a083da4ffb4ec406e56c888d0105abc08.tar.xz |
Merge pull request #5864
32f725d Properly format multiline logs (moneromooo-monero)
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/perf_timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/perf_timer.cpp b/src/common/perf_timer.cpp index 189eb85eb..4408170d1 100644 --- a/src/common/perf_timer.cpp +++ b/src/common/perf_timer.cpp @@ -34,7 +34,7 @@ #define MONERO_DEFAULT_LOG_CATEGORY "perf" #define PERF_LOG_ALWAYS(level, cat, x) \ - el::base::Writer(level, __FILE__, __LINE__, ELPP_FUNC, el::base::DispatchAction::FileOnlyLog).construct(cat) << x + el::base::Writer(level, el::Color::Default, __FILE__, __LINE__, ELPP_FUNC, el::base::DispatchAction::FileOnlyLog).construct(cat) << x #define PERF_LOG(level, cat, x) \ do { \ if (ELPP->vRegistry()->allowed(level, cat)) PERF_LOG_ALWAYS(level, cat, x); \ |