mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
More doc updates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15579 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
29a0d578a0
commit
016afcf3da
@ -63,6 +63,21 @@
|
||||
* Trailing newlines (e.g. <tt>PINFO("...\n", ...)</tt>) are removed; the logger
|
||||
* will newline separate output.
|
||||
*
|
||||
* @section best Best Practices
|
||||
*
|
||||
* Code should:
|
||||
*
|
||||
* @li Define both <tt>static QofLogModule log_module</tt> and <tt>#define
|
||||
* G_LOG_DOMAIN</tt> to the same value.
|
||||
* @li Define a logical, specific path as the log domain;
|
||||
* @c "gnc.gui.plugin-pages.sx-list" or
|
||||
* @c "gnc.register.gnome.cell.quickfill" are
|
||||
* good examples.
|
||||
* @li Use glib-provided @c g_debug(...), @c g_message(...),
|
||||
* @c g_warning(...), @c g_critical(...) and
|
||||
* @c g_error(...) functions in preference to the historical qof/gnc @c
|
||||
* PINFO, @c PERR (&c.) macros
|
||||
*
|
||||
* @see qof_log_parse_log_config(const char*)
|
||||
**/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user