2002-03-27 11:06:11 +00:00
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2003-08-02 11:50:18 +00:00
|
|
|
function constructor (type, object, logentry, sysadmin) {
|
2002-03-27 11:06:11 +00:00
|
|
|
this.type = type;
|
|
|
|
this.object = object;
|
|
|
|
this.logentry = logentry;
|
|
|
|
this.sysadmin = sysadmin;
|
|
|
|
this.createtime = new Date();
|
2004-01-12 16:44:25 +00:00
|
|
|
return this;
|
|
|
|
}
|