Make wxLog::EnableLogging() and wxLogNull thread-specific.
Disabling logging in a single thread (even the main one) shouldn't disable logs from the background threads which should disable their logging themselves as/if needed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -273,5 +273,9 @@ with later timestamp may appear before messages with earlier timestamp logged
|
||||
from other threads. wxLog does however guarantee that messages logged by each
|
||||
thread will appear in order in which they were logged.
|
||||
|
||||
Also notice that wxLog::EnableLogging() and wxLogNull class which uses it only
|
||||
affect the current thread, i.e. logging messages may still be generated by the
|
||||
other threads after a call to @c EnableLogging(false).
|
||||
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user