initial commit

This commit is contained in:
Blue 2018-08-05 00:46:25 +03:00 committed by Юрий Губич
commit 4b60ece582
327 changed files with 28286 additions and 0 deletions

View file

@ -0,0 +1,18 @@
"use strict";
var DefaultHandler = require("./defaulthandler");
var Logger = DefaultHandler.inherit({
"className": "Logger",
"constructor": function() {
DefaultHandler.fn.constructor.call(this);
},
"call": function(event) {
console.log("Event went to default handler");
console.log("Destination: " + event.getDestination().toString());
console.log("Data: " + event.getData().toString());
return false;
}
});
module.exports = Logger;