mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user