123456789101112131415161718192021222324252627282930313233343536 |
- <sect1 id="gpsd_log.c"><title><filename>libgpsd_core.c</filename></title>
- <informaltable frame='all' pgwide='1'>
- <tgroup cols='2'>
- <colspec colname='c1'></colspec>
- <colspec colname='c2'></colspec>
- <spanspec spanname='s1' namest='c1' nameend='c2'></spanspec>
- <thead>
- <row>
- <entry>Functions:-</entry><entry>General string output routine for any module to use.</entry>
- </row>
- </thead>
- <tfoot>
- <row>
- <entry spanname='s1' align='left'>Notes based on code as of Sat Mar 7 10:11:55 EST 2015</entry>
- </row>
- </tfoot>
- <tbody>
- <row>
- <entry><function>void gpsd_log(int errlevel, struct gpsd_errout_t, const char *fmt, ... )</function></entry>
- <entry><para>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 <function>errlevel</function>
- 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.</para></entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- </sect1>
|