Adding cmake option for disabling log window.
Disable advise and unadvise for magpie logger event when the log window is disabled.
Merge branch 'feature/42278999-disabling-logwindow' into develop