mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use OpmLog to control terminal output limits.
This commit is contained in:
parent
f5a57b8a26
commit
b134455a4d
@ -372,6 +372,9 @@ namespace Opm
|
||||
std::shared_ptr<StreamLog> streamLog = std::make_shared<StreamLog>(std::cout, Log::DefaultMessageTypes);
|
||||
OpmLog::addBackend( "ECLIPSEPRTLOG" , prtLog );
|
||||
OpmLog::addBackend( "STREAMLOG", streamLog);
|
||||
prtLog->setMessageFormatter(std::make_shared<SimpleMessageFormatter>(false, false));
|
||||
streamLog->setMessageLimiter(std::make_shared<MessageLimiter>(10));
|
||||
streamLog->setMessageFormatter(std::make_shared<SimpleMessageFormatter>(false, true));
|
||||
}
|
||||
|
||||
// Create Deck and EclipseState.
|
||||
|
Loading…
Reference in New Issue
Block a user