va_end(args);
}
+void cfgfatal_cl_type(struct cloc loc, const char *facility,
+ closure_t *cl, uint32_t exp_type, const char *name)
+{
+ assert(cl->type != exp_type);
+ cfgfatal(loc,facility,"\"%s\" is the wrong type of closure\n",name);
+}
+
void cfgfatal(struct cloc loc, cstring_t facility, const char *message, ...)
{
va_list args;
}
static struct logfile startup_log;
+void log_early_setlevel(void)
+{
+ startup_log.level=message_level;
+}
void log_early_init(void)
{
logfile_file_init(&startup_log,stderr,"startup");
+ log_early_setlevel();
system_log=&startup_log.ops;;
}