Updated to new pthreads version, updated RakLib

This commit is contained in:
Shoghi Cervantes
2015-09-27 13:37:27 +02:00
parent 0bcf639a98
commit ddc140af5e
10 changed files with 33 additions and 26 deletions

View File

@ -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);
}
}
}
}