update readme
This commit is contained in:
parent
ce5f5380e1
commit
c5972031ac
2 changed files with 20 additions and 4 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue