mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1665 Send any log-output during argument parsing to console
This commit is contained in:
parent
c136e0a3d0
commit
94703d72c2
@ -44,11 +44,11 @@ int main(int argc, char *argv[])
|
|||||||
window.loadWinGeoAndDockToolBarLayout();
|
window.loadWinGeoAndDockToolBarLayout();
|
||||||
window.showWindow();
|
window.showWindow();
|
||||||
|
|
||||||
RiaLogging::setLoggerInstance(new RiuMessagePanelLogger(window.messagePanel()));
|
|
||||||
RiaLogging::loggerInstance()->setLevel(RI_LL_DEBUG);
|
|
||||||
|
|
||||||
if (app.parseArguments())
|
if (app.parseArguments())
|
||||||
{
|
{
|
||||||
|
RiaLogging::setLoggerInstance(new RiuMessagePanelLogger(window.messagePanel()));
|
||||||
|
RiaLogging::loggerInstance()->setLevel(RI_LL_DEBUG);
|
||||||
|
|
||||||
int exitCode = app.exec();
|
int exitCode = app.exec();
|
||||||
RiaLogging::deleteLoggerInstance();
|
RiaLogging::deleteLoggerInstance();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user