Branch: Tag:

2015-12-02

2015-12-02 15:45:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RoxenPatch: Clean up the debug log output somewhat.

3268:    }   }    + protected void patcher_report_notice(string msg, mixed ... args) + { +  if (sizeof(args)) msg = sprintf(msg, @args); +  report_notice(plib->wash_output(msg)); + } +  + protected void patcher_report_error(string msg, mixed ... args) + { +  if (sizeof(args)) msg = sprintf(msg, @args); +  report_error(plib->wash_output(msg)); + } +    RoxenPatch.Patcher plib = -  RoxenPatch.Patcher(report_notice, report_error, getcwd(), getenv("LOCALDIR")); +  RoxenPatch.Patcher(patcher_report_notice, patcher_report_error, +  getcwd(), getenv("LOCALDIR"));      protected void hourly_maintenance()   {