# `libgpsd_core.c`

Functions:- | General string output routine for any module to use.
--- | ---
Notes based on code as of Sat Mar 7 10:11:55 EST 2015

`void gpsd_log(struct gpsd_errout_t, int errlevel, const char *fmt, ... )`

Provides the outputting of strings to stderr or through a specified hook function in the errout structure for anyone who needs it. Used extensively by many functions to log errors or progress. Responds according to the `errlevel` argument, which is filled by the DEBUG command line argument, so that the verbosity of output is conditional on the user's wishes at runtime.