+#ifndef DEBUG
+ /* Prevent warnings. */
+ (void)file;
+ (void)line;
+#endif
+
+ /* Prevent another thread from interrupting the printfs(). */
+ flockfile(stderr);
+
+#ifdef DEBUG
+ fprintf(stderr, "%-12s:%-4d ", file, line);
+#endif
+ fprintf(stderr, "[%s] [%ld] ", level_string, (long)pthread_self());