diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-25 12:17:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-06-13 21:45:32 +0000 |
commit | c7a0bf1ffc7f92f8f51311a307f53e925f465320 (patch) | |
tree | 517c7da988345efa5ae3bf0e7cc93b25f4f64629 /CommonLibs/Logger.h | |
parent | 940738e86aa9e69c0b5d76c75957e48244e65f28 (diff) |
lms: Several improvements and compilation/runtime fixes
Continuation of initial work done on LimeSuite support from Harald.
Change-Id: Ib2fca81b76d027b08e2891056fa076d071597783
Diffstat (limited to 'CommonLibs/Logger.h')
-rw-r--r-- | CommonLibs/Logger.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CommonLibs/Logger.h b/CommonLibs/Logger.h index 5b0b05c..e18ecfb 100644 --- a/CommonLibs/Logger.h +++ b/CommonLibs/Logger.h @@ -53,6 +53,9 @@ extern "C" { #define LOGC(category, level) \ Log(category, LOGL_##level, __BASE_FILE__, __LINE__).get() << "[tid=" << pthread_self() << "] " +#define LOGLV(category, level) \ + Log(category, level, __BASE_FILE__, __LINE__).get() << "[tid=" << pthread_self() << "] " + /** A C++ stream-based thread-safe logger. This object is NOT the global logger; |