chiark / gitweb /
document log message format
authorian <ian>
Sun, 19 Dec 2004 20:59:18 +0000 (20:59 +0000)
committerian <ian>
Sun, 19 Dec 2004 20:59:18 +0000 (20:59 +0000)
src/adns.h

index 51024468c7cebb78b2f8ec5d37da6aac0e58c691..9be8b68d0b327d1bc8b15c2cef0ba1864254a3ad 100644 (file)
@@ -363,9 +363,11 @@ int adns_init_strcfg(adns_state *newstate_r, adns_initflags flags,
 
 typedef void adns_logcallbackfn(adns_state ads, void *logfndata,
                                const char *fmt, va_list al);
 
 typedef void adns_logcallbackfn(adns_state ads, void *logfndata,
                                const char *fmt, va_list al);
-  /* will be called perhaps several times for each message; when the
+  /* Will be called perhaps several times for each message; when the
    * message is complete, the string implied by fmt and al will end in
    * message is complete, the string implied by fmt and al will end in
-   * a newline. */
+   * a newline.  Log messages start with `adns debug:' or `adns
+   * warning:' or `adns:' (for errors), or `adns debug [PID]:'
+   * etc. if adns_if_logpid is set. */
 
 int adns_init_logfn(adns_state *newstate_r, adns_initflags flags,
                    const char *configtext /*0=>use default config files*/,
 
 int adns_init_logfn(adns_state *newstate_r, adns_initflags flags,
                    const char *configtext /*0=>use default config files*/,