Add support for thread-specific log targets.
A worker thread can now have its own log target which will be used directly by the log functions instead of buffering log output in the main thread; the GUI thread in the thread sample shows how it works. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -358,6 +358,12 @@ All:
|
||||
- Added wxTempFile::Flush().
|
||||
- Added support for wxLongLong and wxULongLong in wxVariant.
|
||||
- Added wxVector::swap().
|
||||
- Many wxLog improvements:
|
||||
* wxLogXXX() functions are now thread-safe.
|
||||
* Log levels can now be set independently for different log components.
|
||||
* wxLog::DoLogRecord() has access to the location of the log message
|
||||
(file, line and function name) and id of the thread which generated it.
|
||||
* SetThreadActiveTarget() allows to set up thread-specific log targets.
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
Reference in New Issue
Block a user