if ((flags & FLAG_STDERR) && (flags & FLAG_VERBOSE)) { fprintf(stderr, "%s\n", event); fflush(stderr); }
void log_eventlog(void *handle, char *event){    struct LogContext *ctx = (struct LogContext *)handle;    if (cfg.logtype != LGTYP_PACKETS)	return;    if (!ctx->lgfp)	logfopen(ctx);    if (ctx->lgfp)	fprintf(ctx->lgfp, "Event Log: %s\r\n", event);}