antville/code/SysLog/objectFunctions.js
2004-01-12 16:44:25 +00:00

16 lines
420 B
JavaScript

/**
* constructor for a new syslog-object
* @param String type of modified object
* @param String name or ID of modified object
* @param String message to add as log-entry
* @param Object sysadmin
*/
function constructor (type, object, logentry, sysadmin) {
this.type = type;
this.object = object;
this.logentry = logentry;
this.sysadmin = sysadmin;
this.createtime = new Date();
return this;
}