update readme

This commit is contained in:
Asraelite 2016-03-28 11:25:06 +01:00
parent ce5f5380e1
commit c5972031ac
2 changed files with 20 additions and 4 deletions

View file

@ -17,6 +17,10 @@ class ServerInterface {
}
log(msg) {
if (!fs.existsSync('log')){
fs.mkdirSync('log');
}
let timestamp = this.timestamp;
let output = msg;
Array.from(arguments).splice(1).forEach(a => output = output[a]);