Skip to content

AttachableThreadSafeLogger ​

abstract class · pocketmine\thread\log\AttachableThreadSafeLogger · source

Extends ThreadSafeLogger

Properties ​

$attachments protected ​

php
protected \pmmp\thread\ThreadSafeArray $attachments

Methods ​

__construct() ​

php
public function __construct()

addAttachment() ​

php
public function addAttachment(\pocketmine\thread\log\ThreadSafeLoggerAttachment $attachment) : void

getAttachments() ​

php
public function getAttachments() : array

removeAttachment() ​

php
public function removeAttachment(\pocketmine\thread\log\ThreadSafeLoggerAttachment $attachment) : void

removeAttachments() ​

php
public function removeAttachments() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.