diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-09-30 16:53:48 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-10-27 08:46:39 +0200 |
commit | 5efcd39fc05b804ede122e4a930de3db5d041014 (patch) | |
tree | 9f74c68e2ed25a507926d032cc22ea57f1a1f0b1 /nxcomp/src/Log.h | |
parent | 6c3cf54ba84e9e31a5be62ab58391106d35eaff6 (diff) | |
download | nx-libs-5efcd39fc05b804ede122e4a930de3db5d041014.tar.gz nx-libs-5efcd39fc05b804ede122e4a930de3db5d041014.tar.bz2 nx-libs-5efcd39fc05b804ede122e4a930de3db5d041014.zip |
nxcomp/src/Log.h: prepare for logger testing application.
DO NOT USE!
Diffstat (limited to 'nxcomp/src/Log.h')
-rw-r--r-- | nxcomp/src/Log.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) { /* |