From 8becd062e1661da39594edc3856d1fa664bf3635 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 20 Jun 2008 08:55:51 +0000 Subject: [PATCH] minor formatting git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/log.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/interface/log.h b/interface/log.h index e1f65501cb..0b27bf4454 100644 --- a/interface/log.h +++ b/interface/log.h @@ -373,7 +373,7 @@ public: See @ref overview_wxlogoverview "log overview" for the descriptions of wxWidgets logging facilities. - @section overview_wxLog_Trace_Masks Deriving your own log target + @section overview_wxLog_deriving Deriving your own log target There are two functions which must be implemented by any derived class to actually process the log messages: DoLog() and @@ -417,20 +417,20 @@ public: mask had been added before to the list of allowed ones. For example, - @begincode + @code wxLogTrace( wxTraceRefCount|wxTraceOleCalls, "Active object ref count: %d", nRef ); @endcode will do something only if the current trace mask contains both @c wxTraceRefCount and @c wxTraceOle, but - @begincode + @code wxLogTrace( wxTRACE_OleCalls, "IFoo::Bar() called" ); @endcode will log the message if it was preceded by - @begincode + @code wxLog::AddTraceMask( wxTRACE_OleCalls); @endcode @@ -446,11 +446,7 @@ public: "[%d/%b/%y %H:%M:%S] " which gives something like "[17/Sep/98 22:10:16] " (without quotes) for the current date. Setting an empty string as the time format disables timestamping of the messages completely. - @note Timestamping is disabled for Visual C++ users in debug builds by - default because otherwise it would be impossible to directly go to the line - from which the log message was generated by simply clicking in the debugger - window on the corresponding error message. If you wish to enable it, please - use SetTimestamp() explicitly. See also + See also @li AddTraceMask() @li RemoveTraceMask() @li ClearTraceMasks() @@ -465,6 +461,12 @@ public: @li SetRepetitionCounting() @li GetRepetitionCounting() + @note Timestamping is disabled for Visual C++ users in debug builds by + default because otherwise it would be impossible to directly go to the line + from which the log message was generated by simply clicking in the debugger + window on the corresponding error message. If you wish to enable it, please + use SetTimestamp() explicitly. + @section overview_wxLog_Target Manipulating the log target The functions in this section work with and manipulate the active log