f = stderr;
break;
}
- if((chook = (struct core_hook_t *) hashfind("LOG_ALL.AFTER", &chook_htab))) {
- for(centry = chook->hooks; centry != NULL ; centry = centry->next)
- CHook_Run(centry, "%# %d %s", global_eval_context.cplr, logtype, tbuf1);
- }
lock_file(f);
fprintf(f, "%s %s\n", timebuf, tbuf1);
fflush(f);
unlock_file(f);
+ if((chook = (struct core_hook_t *) hashfind("LOG_ALL.AFTER", &chook_htab))) {
+ for(centry = chook->hooks; centry != NULL ; centry = centry->next)
+ CHook_Run(centry, "%# %d %s", global_eval_context.cplr, logtype, tbuf1);
+ }
+
}
/** Log a message, with useful information.