LOG_DOMAIN

Defines the log domain.

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.

For example, GTK+ uses this in its Makefile.am: |[ 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.

enum LOG_DOMAIN = 0;

Meta