aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{
/*