diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-03-29 22:39:31 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-03-29 22:39:31 -0400 |
commit | 08f6d0e185909f34e189ea4bf253c8a789711665 (patch) | |
tree | 48a1f0bd7f7c3a550e7ee0a4a7797d824422a9e6 /contrib/epee/include | |
parent | Merge pull request #7435 (diff) | |
parent | Reduced executable size; reduced call sequence to "allowed" log function (diff) | |
download | monero-08f6d0e185909f34e189ea4bf253c8a789711665.tar.xz |
Merge pull request #7439
0f2b5af Reduced executable size; reduced call sequence to 'allowed' log function (Lee Clagett)
Diffstat (limited to 'contrib/epee/include')
-rw-r--r-- | contrib/epee/include/misc_log_ex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/include/misc_log_ex.h b/contrib/epee/include/misc_log_ex.h index 3be335e85..392ec11eb 100644 --- a/contrib/epee/include/misc_log_ex.h +++ b/contrib/epee/include/misc_log_ex.h @@ -41,7 +41,7 @@ #define MAX_LOG_FILES 50 #define MCLOG_TYPE(level, cat, color, type, x) do { \ - if (ELPP->vRegistry()->allowed(level, cat)) { \ + if (el::Loggers::allowed(level, cat)) { \ el::base::Writer(level, color, __FILE__, __LINE__, ELPP_FUNC, type).construct(cat) << x; \ } \ } while (0) @@ -89,7 +89,7 @@ #define IFLOG(level, cat, color, type, init, x) \ do { \ - if (ELPP->vRegistry()->allowed(level, cat)) { \ + if (el::Loggers::allowed(level, cat)) { \ init; \ el::base::Writer(level, color, __FILE__, __LINE__, ELPP_FUNC, type).construct(cat) << x; \ } \ |