mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 02:20:04 +01:00
docs: Encourage applications to define G_LOG_DOMAIN
https://bugzilla.gnome.org/show_bug.cgi?id=785130
This commit is contained in:
parent
fd541c3518
commit
8962736ba9
@ -275,8 +275,7 @@ myInvalidParameterHandler(const wchar_t *expression,
|
||||
*
|
||||
* Defines the log domain.
|
||||
*
|
||||
* For applications, this is typically left as the default %NULL
|
||||
* (or "") domain. Libraries should define this so that any messages
|
||||
* Libraries should define this so that any messages
|
||||
* which they log can be differentiated from messages from other
|
||||
* libraries and application code. But be careful not to define
|
||||
* it in any public header files.
|
||||
@ -285,6 +284,12 @@ myInvalidParameterHandler(const wchar_t *expression,
|
||||
* |[
|
||||
* AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Gtk\"
|
||||
* ]|
|
||||
*
|
||||
* Applications can choose to leave it as the default %NULL (or "")
|
||||
* domain. However, defining the domain offers the same advantages as
|
||||
* above.
|
||||
*
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user