IMediaLibrary: Disallow updating the logger after initialization
We need the custom logger before any initialization step runs, otherwise those logs will be lost. In order to simplify the locking, it seems reasonable to mandate that the logger won't be updated afterward.
parent
145d5306
No related branches found
Tags 0.12.0
Showing
- include/medialibrary/IMediaLibrary.h 7 additions, 1 deletioninclude/medialibrary/IMediaLibrary.h
- src/MediaLibrary.cpp 5 additions, 5 deletionssrc/MediaLibrary.cpp
- src/MediaLibrary.h 0 additions, 1 deletionsrc/MediaLibrary.h
- src/logging/Logger.cpp 6 additions, 16 deletionssrc/logging/Logger.cpp
- src/logging/Logger.h 3 additions, 4 deletionssrc/logging/Logger.h
Loading