Skip to content

Commit

Permalink
- added log file write ability
Browse files Browse the repository at this point in the history
- added unSubscribeCharacterIds() for multi logout characters
  • Loading branch information
exodus4d committed Oct 22, 2017
1 parent 7fe9f78 commit 0f492ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions app/Main/MapUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,11 @@ private function setConnectionAccess($connectionAccessData) {
return $response;
}

/**
* dispatch log writing to a LogFileHandler
* @param array $meta
* @param array $log
*/
private function handleLogData(array $meta, array $log){
$logHandler = new LogFileHandler((string)$meta['stream']);
$logHandler->write($log);
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php-64bit": ">=7.0",
"ext-zmq": "1.1.*",
"cboden/ratchet": "0.3.*",
"react/zmq": "0.3.*"
"cboden/ratchet": "0.4.x-dev",
"react/zmq": "dev-master"
}
}

0 comments on commit 0f492ee

Please sign in to comment.