From 5efcd39fc05b804ede122e4a930de3db5d041014 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Sat, 30 Sep 2017 16:53:48 +0200 Subject: nxcomp/src/Log.h: prepare for logger testing application. DO NOT USE! --- nxcomp/src/Log.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nxcomp/src/Log.h b/nxcomp/src/Log.h index e3b1397d2..aed929b31 100644 --- a/nxcomp/src/Log.h +++ b/nxcomp/src/Log.h @@ -124,6 +124,9 @@ class NXLogStamp */ class NXLog { +#ifdef INTERNAL_LOGGING_TEST + protected: +#endif NXLogLevel level_; std::ostream *stream_; @@ -217,6 +220,7 @@ class NXLog * This means that get_data() stops working correctly, and we need * to be able to pass the old pointer. */ + virtual /* Note: this function needs to be virtual for the logging test application. Don't remove. */ void flush(per_thread_data *pdt) { /* -- cgit v1.2.3