-[Log Window](#log-window)
+[Error Logging](#error-logging)
[GPL header](#gpl-header)
[Git change log](#git-change-log)
[Sources](#sources)
-----------
-# <a name='log-window'>
-#Log Window
+# <a name='error-logging'>
+# Error Logging
+`DEBUG_0()`
+Use `DEBUG_0()` only for temporary debugging i.e. not in code in the repository.
+The user will then not see irrelevant debug output when the default
+`debug level = 0` is used.
`log_printf()`
If the first word of the message is "error" or "warning" (case insensitive) the message will be color-coded appropriately.
+ - Note that these messages are output in the idle loop.
+
+`print_term(gboolean err, const gchar *text_utf8)`
+
+- If `err` is TRUE output is to STDERR, otherwise to STDOUT
+
`DEBUG_NAME(widget)`
For use with the [GTKInspector](https://wiki.gnome.org/action/show/Projects/GTK/Inspector?action=show&redirect=Projects%2FGTK%2B%2FInspector) to provide a visual indication of where objects are declared.
-------------
# <a name='git-change-log'>
-#git change-log
+# git change-log
If referencing a Geeqie GitHub issue, include the issue number in the summary line. Start with a short summary in the first line (without a dot at the end) followed by a empty line.
--------------------------------------------------------------------------------
# <a name='sources'>
-#Sources
+# Sources
Indentation: tabs at 4 spaces
--------------------------------------------------------------------------------
# <a name='documentation'>
-#Documentation
+# Documentation
Use American, rather than British English, spelling. This will facilitate consistent
text searches. User text may be translated via the en_GB.po file.