]> git.saurik.com Git - wxWidgets.git/commitdiff
document wxLogGeneric() function
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 5 Nov 2011 10:44:35 +0000 (10:44 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 5 Nov 2011 10:44:35 +0000 (10:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/log.h

index 10253f9a7113627168d2a4ca1287b4cb0d3c4418..09bdc618e54bff6801ea89fa1ccc90dec547606a 100644 (file)
@@ -9,7 +9,7 @@
 
 /**
     Different standard log levels (you may also define your own) used with
-    by standard wxLog functions wxLogError(), wxLogWarning(), etc...
+    by standard wxLog functions wxLogGeneric(), wxLogError(), wxLogWarning(), etc...
 */
 enum wxLogLevelValues
 {
@@ -1114,6 +1114,18 @@ const wxChar* wxSysErrorMsg(unsigned long errCode = 0);
 
 //@}
 
+/** @addtogroup group_funcmacro_log */
+//@{
+/**
+    Logs a message with the given wxLogLevel.
+    E.g. using @c wxLOG_Message as first argument, this function behaves like wxLogMessage().
+
+    @header{wx/log.h}
+*/
+void wxLogGeneric(wxLogLevel level, const char* formatString, ... );
+void wxVLogGeneric(wxLogLevel level, const char* formatString, va_list argPtr);
+//@}
+
 /** @addtogroup group_funcmacro_log */
 //@{
 /**