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