The following code we are calling from the main in our application (MWLSCU.exe).
Code: Select all
OFConsoleApplication app(OFFIS_CONSOLE_APPLICATION, "Application", rcsid);
OFCommandLine cmd;
OFLog::addOptions(cmd);
app.parseCommandLine(cmd, argc, argv);
OFLog::configureFromCommandLine(cmd, app);
We noticed that the DCMTK doesn't log any message in this case.
But it logs if we build MWLSCU as static library or initialize the logger in the DLL itself (which we dont prefer).
Please suggest a solution.
Thanks