Switch to edit mode.
Name(s): record1: {category, priority, message, ?guardianly = 0, ?wizardly = 0} = args
2: set_task_perms(caller_perms())
3: if ("log_" + category in verbs(this))
4: logp = this:("log_" + category)(caller, category, priority, message, guardianly, wizardly)
5: if (logp)
6: this:do_notifies(category, priority, message, guardianly, wizardly)
7: this:log(category, priority, message, guardianly, wizardly)
8: endif
9: else
10: raise(E_PERM, "Set up a logging verb with a wizard to use this object.")
11: endif