mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Updated to new pthreads version, updated RakLib
This commit is contained in:
@ -87,10 +87,14 @@ class PluginLogger implements \AttachableLogger{
|
||||
$this->log(LogLevel::DEBUG, $message);
|
||||
}
|
||||
|
||||
public function logException(\Throwable $e, $trace = null){
|
||||
Server::getInstance()->getLogger()->logException($e, $trace);
|
||||
}
|
||||
|
||||
public function log($level, $message){
|
||||
Server::getInstance()->getLogger()->log($level, $this->pluginName . $message);
|
||||
foreach($this->attachments as $attachment){
|
||||
$attachment->log($level, $message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user