explan_gpsd_log.c.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <sect1 id="gpsd_log.c"><title><filename>libgpsd_core.c</filename></title>
  2. <informaltable frame='all' pgwide='1'>
  3. <tgroup cols='2'>
  4. <colspec colname='c1'></colspec>
  5. <colspec colname='c2'></colspec>
  6. <spanspec spanname='s1' namest='c1' nameend='c2'></spanspec>
  7. <thead>
  8. <row>
  9. <entry>Functions:-</entry><entry>General string output routine for any module to use.</entry>
  10. </row>
  11. </thead>
  12. <tfoot>
  13. <row>
  14. <entry spanname='s1' align='left'>Notes based on code as of Sat Mar 7 10:11:55 EST 2015</entry>
  15. </row>
  16. </tfoot>
  17. <tbody>
  18. <row>
  19. <entry><function>void gpsd_log(int errlevel, struct gpsd_errout_t, const char *fmt, ... )</function></entry>
  20. <entry><para>Provides the outputting of strings to stderr or through a
  21. specified hook function in the errout structure for anyone
  22. who needs it. Used extensively by many functions to log errors or
  23. progress. Responds according to the <function>errlevel</function>
  24. argument, which is filled by the DEBUG command line argument, so
  25. that the verbosity of output is conditional on the user's wishes at
  26. runtime.</para></entry>
  27. </row>
  28. </tbody>
  29. </tgroup>
  30. </informaltable>
  31. </sect1>