mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
AsyncWorker: added getLogger()
This commit is contained in:
parent
9644766df3
commit
1d71f0cf43
@ -58,6 +58,10 @@ class AsyncWorker extends Worker{
|
||||
$store = [];
|
||||
}
|
||||
|
||||
public function getLogger() : \ThreadedLogger{
|
||||
return $this->logger;
|
||||
}
|
||||
|
||||
public function handleException(\Throwable $e){
|
||||
$this->logger->logException($e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user