blob: b8f94b1228fd89d26e58a8a69a4b6c587b0fdc42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<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(struct gpsd_errout_t, int errlevel, 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>
|