[GRASS-SVN] r30149 - grass/trunk
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 14 06:26:15 EST 2008
Author: hamish
Date: 2008-02-14 06:26:15 -0500 (Thu, 14 Feb 2008)
New Revision: 30149
Modified:
grass/trunk/SUBMITTING
Log:
G_important_message(), G_verbose_message()
Modified: grass/trunk/SUBMITTING
===================================================================
--- grass/trunk/SUBMITTING 2008-02-14 11:17:38 UTC (rev 30148)
+++ grass/trunk/SUBMITTING 2008-02-14 11:26:15 UTC (rev 30149)
@@ -137,7 +137,12 @@
For errors and warnings please use the G_fatal_error() and
G_warning() functions. General messages for the user should use
G_message() while debug messages should use G_debug() whenever
- possible.
+ possible. There are two variants to G_message(): G_verbose_message()
+ which will only display the message if in verbose mode, and
+ G_important_message() which will always show the message unless
+ the module is running in --quiet mode. G_fatal_error() and
+ G_warning() will always be displayed regardless of verbosity setting.
+ Messages sent to any of these functions will be printed to stderr.
G_message() output is not expected to be sent to pipe or file.
More information about the grass-commit
mailing list