Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2015-12-02
2015-12-02 15:45:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>
5a10e28b2d0ac7628d291f721e195fbede2da699 (
16
lines) (+
15
/-
1
)
[
Show
|
Annotate
]
Branch:
bddc99974a57649a6e6bb3450c14fa05a8043ecc
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() {