Skip to content

Commit

Permalink
DynamicLoggingCategory: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Be-ing committed Aug 23, 2021
1 parent 8f73f29 commit 7e43d38
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/util/dynamicloggingcategory.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@

/// DynamicLoggingCategory is a wrapper around QLoggingCategory
/// that facilitates using a QLoggingCategory for a category
/// name string that is determined at run time. If the category
/// name is fully known at compile time, simply construct a
/// QLoggingCategory with a string literal instead of using
/// DynamicLoggingCategory.
/// name string that is determined at run time. To use a
/// DynamicLoggingCategory, simply pass it to the
/// qCInfo, qCDebug, qCWarning, or qCCritical macros like a
/// QLoggingCategory. If the category name is fully known at
/// compile time, simply construct a QLoggingCategory with a
/// string literal instead of using DynamicLoggingCategory.
///
/// DynamicLoggingCategory stores the logging category name as a
/// QByteArray. This is helpful because QLoggingCategory has a deleted
Expand Down

0 comments on commit 7e43d38

Please sign in to comment.