mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: relocate messageStream output level control to an InfoSwitch
- location and naming more consistent with other controls
old: DebugSwitch 'level'
new: InfoSwitch 'outputLevel'
This commit is contained in:
@ -36,6 +36,13 @@ InfoSwitches
|
|||||||
// The default ASCII write precision
|
// The default ASCII write precision
|
||||||
writePrecision 6;
|
writePrecision 6;
|
||||||
|
|
||||||
|
// The output level (verbosity) of messages
|
||||||
|
// - 0 : suppress all output
|
||||||
|
// - 1 : normal output
|
||||||
|
// - >= 2 : report source file and line number (default)
|
||||||
|
outputLevel 2;
|
||||||
|
|
||||||
|
// Report information as baseIOdictionary are read in
|
||||||
writeDictionaries 0;
|
writeDictionaries 0;
|
||||||
|
|
||||||
// Report optional dictionary entries. For value > 1, treat as fatal.
|
// Report optional dictionary entries. For value > 1, treat as fatal.
|
||||||
@ -671,7 +678,6 @@ DebugSwitches
|
|||||||
lduMesh 0;
|
lduMesh 0;
|
||||||
leastSquares 0;
|
leastSquares 0;
|
||||||
leastSquaresVectors 0;
|
leastSquaresVectors 0;
|
||||||
level 2;
|
|
||||||
limitWith 0;
|
limitWith 0;
|
||||||
limited 0;
|
limited 0;
|
||||||
limitedCubic 0;
|
limitedCubic 0;
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2016 OpenFOAM Foundation
|
Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
Copyright (C) 2017-2020 OpenCFD Ltd.
|
Copyright (C) 2017-2021 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -33,7 +33,7 @@ License
|
|||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Default is 2 : report source file name and line number if available
|
// Default is 2 : report source file name and line number if available
|
||||||
int Foam::messageStream::level(Foam::debug::debugSwitch("level", 2));
|
int Foam::messageStream::level(Foam::debug::infoSwitch("outputLevel", 2));
|
||||||
|
|
||||||
int Foam::messageStream::redirect(0);
|
int Foam::messageStream::redirect(0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user