aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src/Log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/src/Log.cpp')
-rw-r--r--nxcomp/src/Log.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/nxcomp/src/Log.cpp b/nxcomp/src/Log.cpp
index 66ae1bd78..83e11b98a 100644
--- a/nxcomp/src/Log.cpp
+++ b/nxcomp/src/Log.cpp
@@ -109,14 +109,12 @@ NXLog& operator<< (NXLog& out, const NXLogStamp& value)
out.current_file( value.file() );
// Writing an NXLogStamp to the stream indicates the start of a new entry.
- // If there's any content in the buffer, we flush it to finalize the previous
- // log entry.
+ // If there's any content in the buffer, create a new entry in the output
+ // queue.
if ( out.synchronized() )
- out.flush();
-
+ out.new_stack_entry();
out << out.stamp_to_string(value);
return out;
}
-