View/Edit #1984:record

Switch to edit mode.

Name(s): record
1:  {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

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: manta (#7165)

You are not logged in.

[home | help | who | search | setup | code]