summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2013-10-16 16:26:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-18 20:04:57 +0200
commita652bab6a7ebf78b029fea95c2801deb6f4f524a (patch)
treebec3ecf3be7df03d729454bf23261f6c8fb08255 /src/corelib/io
parente06acfbda2a1d45f349630cfc412a159c059ef39 (diff)
Link from QLoggingCategory documentation to QTracer/QTraceGuard
Change-Id: I331966f6137a31f089425a639afe8f9f4088c0b6 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qloggingcategory.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/corelib/io/qloggingcategory.cpp b/src/corelib/io/qloggingcategory.cpp
index e3151b61cc..d472682ace 100644
--- a/src/corelib/io/qloggingcategory.cpp
+++ b/src/corelib/io/qloggingcategory.cpp
@@ -401,7 +401,7 @@ void QLoggingCategory::setFilterRules(const QString &rules)
The macro expands to code that checks whether
\l QLoggingCategory::isTraceEnabled() evaluates to \c true.
- If so, the stream arguments are processed and sent to the tracers
+ If so, the stream arguments are processed and sent to the \l QTracer objects
registered with the category.
\note Arguments are not processed if trace output for the category is not
@@ -411,7 +411,7 @@ void QLoggingCategory::setFilterRules(const QString &rules)
\snippet qtracer/ftracer.cpp 6
- \sa qCTraceGuard()
+ \sa qCTraceGuard() QTraceGuard
*/
/*!
@@ -423,11 +423,12 @@ void QLoggingCategory::setFilterRules(const QString &rules)
storage. The guard constructor checks whether
\l QLoggingCategory::isTraceEnabled() evaluates to \c true.
If so, the stream arguments are processed and the \c{start()}
- functions of the tracers registered with the \a category are called.
+ functions of the \l QTracer objects registered with the \a category are
+ called.
The guard destructor also checks whether the category is enabled for
tracing and if so, the \c{end()}
- functions of the tracers registered with the \a category are called.
+ functions of the \l QTracer objects registered with the \a category are called.
\note Arguments are always processed, even if trace output for the
category is disabled. They will, however, in that case not be passed
@@ -437,7 +438,7 @@ void QLoggingCategory::setFilterRules(const QString &rules)
\snippet qtracer/ftracer.cpp 4
- \sa qCTrace()
+ \sa qCTrace() QTracer
*/
/*!