Skip to content

MainLoggerThread ​

final class · pocketmine\utils\MainLoggerThread · source

Extends pmmp\thread\Thread

Methods ​

__construct() ​

php
public function __construct(string $logFile, ?string $archiveDir, int $maxFileSize = 32 * 1024 * 1024)

run() ​

php
public function run() : void

shutdown() ​

php
public function shutdown() : void

syncFlushBuffer() ​

php
public function syncFlushBuffer() : void

write() ​

php
public function write(string $line) : void

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