PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\utils\MainLoggerThread Class Reference
+ Inheritance diagram for pocketmine\utils\MainLoggerThread:
+ Collaboration diagram for pocketmine\utils\MainLoggerThread:

Public Member Functions

 __construct (private string $logFile, private ?string $archiveDir, private readonly int $maxFileSize=32 *1024 *1024)
 
 run ()
 
 shutdown ()
 
 syncFlushBuffer ()
 
 write (string $line)
 

Detailed Description

Definition at line 46 of file MainLoggerThread.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\utils\MainLoggerThread::__construct ( private string $logFile,
private ?string $archiveDir,
private readonly int $maxFileSize = 32 * 1024 * 1024 )

Definition at line 53 of file MainLoggerThread.php.

Member Function Documentation

◆ run()

pocketmine\utils\MainLoggerThread::run ( )

Definition at line 161 of file MainLoggerThread.php.

◆ shutdown()

pocketmine\utils\MainLoggerThread::shutdown ( )

Definition at line 85 of file MainLoggerThread.php.

◆ syncFlushBuffer()

pocketmine\utils\MainLoggerThread::syncFlushBuffer ( )

Definition at line 73 of file MainLoggerThread.php.

◆ write()

pocketmine\utils\MainLoggerThread::write ( string $line)

Definition at line 66 of file MainLoggerThread.php.


The documentation for this class was generated from the following file: