removed wxLogTrace() without mask to fix DMC compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -488,23 +488,22 @@ DECLARE_LOG_FUNCTION2(SysError, long lErrCode);
|
|||||||
#if wxUSE_LOG_DEBUG
|
#if wxUSE_LOG_DEBUG
|
||||||
DECLARE_LOG_FUNCTION(Debug);
|
DECLARE_LOG_FUNCTION(Debug);
|
||||||
|
|
||||||
// first kind of LogTrace is unconditional: it doesn't check the level,
|
// there is no more unconditional LogTrace: it is not different from
|
||||||
DECLARE_LOG_FUNCTION(Trace);
|
// LogDebug and it creates overload ambiguities
|
||||||
|
//DECLARE_LOG_FUNCTION(Trace);
|
||||||
|
|
||||||
// this second version will only log the message if the mask had been
|
// this version only logs the message if the mask had been added to the
|
||||||
// added to the list of masks with AddTraceMask()
|
// list of masks with AddTraceMask()
|
||||||
DECLARE_LOG_FUNCTION2(Trace, const wxChar *mask);
|
DECLARE_LOG_FUNCTION2(Trace, const wxChar *mask);
|
||||||
|
|
||||||
// the last one does nothing if all of level bits are not set
|
// and this one does nothing if all of level bits are not set in
|
||||||
// in wxLog::GetActive()->GetTraceMask() - it's deprecated in favour of
|
// wxLog::GetActive()->GetTraceMask() -- it's deprecated in favour of
|
||||||
// string identifiers
|
// string identifiers
|
||||||
DECLARE_LOG_FUNCTION2(Trace, wxTraceMask mask);
|
DECLARE_LOG_FUNCTION2(Trace, wxTraceMask mask);
|
||||||
#else //!debug
|
#else //!debug
|
||||||
// these functions do nothing in release builds
|
// these functions do nothing in release builds
|
||||||
inline void wxVLogDebug(const wxChar *, va_list) { }
|
inline void wxVLogDebug(const wxChar *, va_list) { }
|
||||||
inline void wxLogDebug(const wxChar *, ...) { }
|
inline void wxLogDebug(const wxChar *, ...) { }
|
||||||
inline void wxVLogTrace(const wxChar *, va_list) { }
|
|
||||||
inline void wxLogTrace(const wxChar *, ...) { }
|
|
||||||
inline void wxVLogTrace(wxTraceMask, const wxChar *, va_list) { }
|
inline void wxVLogTrace(wxTraceMask, const wxChar *, va_list) { }
|
||||||
inline void wxLogTrace(wxTraceMask, const wxChar *, ...) { }
|
inline void wxLogTrace(wxTraceMask, const wxChar *, ...) { }
|
||||||
inline void wxVLogTrace(const wxChar *, const wxChar *, va_list) { }
|
inline void wxVLogTrace(const wxChar *, const wxChar *, va_list) { }
|
||||||
|
Reference in New Issue
Block a user