Skip to content
Snippets Groups Projects
Commit 3e73a425 authored by mattijs's avatar mattijs
Browse files

BUG: messageStream: select output under communicator

parent ff509726
Branches
Tags
No related merge requests found
......@@ -188,12 +188,12 @@ Foam::OSstream& Foam::messageStream::operator()
Foam::OSstream& Foam::messageStream::operator()(const bool output)
{
if (output && level)
if (level)
{
bool collect = (severity_ == INFO || severity_ == WARNING);
// Report the error
if (collect)
if (!output && collect)
{
return Snull;
}
......
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