I’m using ITK 5.0.0, I use itk::FileOutputWindow to log the warning messages by
typedef itk::FileOutputWindow myFileOutputWindow;
myFileOutputWindow::Pointer window = myFileOutputWindow::New();
There are multiple threads in the program, each thread owns a FileOutputWindow object sharing the same log file.
- Will it be a problem if many threads are writing log at the same time?
- What if there are multiple instances of the same program executed at the same time, by same or different user
- What if different users execute the same program and some of them may not have permission to write the file?