mud/lib/secure/daemon/i3router/server_log.h
2020-09-06 05:43:07 -07:00

9 lines
264 B
C

varargs void server_log(string str, string file){
trr(str+"%^RESET%^");
str = strip_colours(str);
if(!file){
return log_file("router/server_log", timestamp()+" "+str+"\n");
}
return log_file("router/"+file, timestamp()+" "+str+"\n");
}