]> git.saurik.com Git - wxWidgets.git/commit - src/common/log.cpp
Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Jul 2009 13:47:33 +0000 (13:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 8 Jul 2009 13:47:33 +0000 (13:47 +0000)
commitbc73d5aec8ad40a3bdab1bd7af9dadb0e559c49a
tree2b8e8848fc8495cb1900f3e795ca66ff4e9bdf11
parent5f7c24e2ff4ca9f9215532490849639d873618c5
Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo.

The main logging callback is now DoLogRecord() with DoLogTextAtLevel() and
DoLogText() provided for convenience. The old DoLog() and DoLogString() are
still called but deprecated and their overloads taking wxString which were
only added in 2.9.0 are removed.

wxLogRecordInfo allows associating more information than just the time stamp
with the log record; for now only the logging thread id was added but more
fields will make their appearance soon.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/generic/logg.h
include/wx/log.h
interface/wx/log.h
src/common/log.cpp
src/generic/logg.cpp
tests/log/logtest.cpp