Commit 5efcd39f authored by Mihai Moldovan's avatar Mihai Moldovan

nxcomp/src/Log.h: prepare for logger testing application.

DO NOT USE!
parent 6c3cf54b
...@@ -124,6 +124,9 @@ class NXLogStamp ...@@ -124,6 +124,9 @@ class NXLogStamp
*/ */
class NXLog class NXLog
{ {
#ifdef INTERNAL_LOGGING_TEST
protected:
#endif
NXLogLevel level_; NXLogLevel level_;
std::ostream *stream_; std::ostream *stream_;
...@@ -217,6 +220,7 @@ class NXLog ...@@ -217,6 +220,7 @@ class NXLog
* This means that get_data() stops working correctly, and we need * This means that get_data() stops working correctly, and we need
* to be able to pass the old pointer. * 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) void flush(per_thread_data *pdt)
{ {
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment