|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
GIS Library - Debug functions. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <grass/gis.h>#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
| void | G_init_debug (void) |
| Initiate debugging. | |
| int | G_debug (int level, const char *msg,...) |
| Print debugging message. | |
GIS Library - Debug functions.
(C) 2001-2012 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file debug.c.
Print debugging message.
Print debugging message if environment variable GRASS_DEBUG_LEVEL is set to level equal or greater
Levels: (recommended levels)
| [in] | level | level |
| [in] | msg | message |
Definition at line 66 of file debug.c.
References _, G_init_debug(), G_warning(), and NULL.
Initiate debugging.
Definition at line 27 of file debug.c.
References G_getenv_nofatal(), G_initialize_done(), G_is_initialized(), and NULL.
Referenced by G_debug(), and G_init_all().