aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Log.h
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-09-30 16:53:48 +0200
committerMihai Moldovan <ionic@ionic.de>2017-10-27 08:46:39 +0200
commit5efcd39fc05b804ede122e4a930de3db5d041014 (patch)
tree9f74c68e2ed25a507926d032cc22ea57f1a1f0b1 /nxcomp/src/Log.h
parent6c3cf54ba84e9e31a5be62ab58391106d35eaff6 (diff)
downloadnx-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.h4
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)
{
/*