I have a need to produce two distinct loggers in a QT application. The UI (QCoreApplication) and child threads (from QThreadPool).
In Main:
Created the the logging engine using the example code in the QTilitities page.
In each thread, I would like to add a custom engine initialized to a distinctly named file. How would one do this, I attempted to call Log->newFileEngine(engineName, logfileName); in a static class and implement the template LOG_INFO_E -> the logging facility does not seem to work.
Is there an example of how this might be accomplished.
Case 1. Use default Application Log.
Case 2. Foreach (thread of execution) write to LogFile.ThreadId
Many thanks!
Tim Peer