messageStream: Added 'Log' macro which outputs to 'Info' if 'log' is true

regionFunctionObject: moved 'log_' to public 'log' to support the 'Log' macro
This commit is contained in:
Henry Weller
2016-05-25 18:19:46 +01:00
parent 82ca430a02
commit ee462f8241
23 changed files with 80 additions and 89 deletions

View File

@ -72,9 +72,6 @@ protected:
//- Reference to the region objectRegistry
const objectRegistry& obr_;
//- Switch to send output to Info as well as to file
Switch log_;
// Protected member functions
@ -118,6 +115,9 @@ public:
//- Runtime type information
TypeName("regionFunctionObject");
//- Switch write log to Info
Switch log;
// Constructors