mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Promote some constructors
This commit is contained in:
@@ -35,19 +35,11 @@ class MainLogger extends \AttachableThreadedLogger implements \BufferedLogger{
|
||||
/** @var bool */
|
||||
protected $logDebug;
|
||||
|
||||
/** @var string */
|
||||
private $format = TextFormat::AQUA . "[%s] " . TextFormat::RESET . "%s[%s/%s]: %s" . TextFormat::RESET;
|
||||
|
||||
/** @var bool */
|
||||
private $useFormattingCodes = false;
|
||||
|
||||
private string $format = TextFormat::AQUA . "[%s] " . TextFormat::RESET . "%s[%s/%s]: %s" . TextFormat::RESET;
|
||||
private bool $useFormattingCodes = false;
|
||||
private string $mainThreadName;
|
||||
|
||||
/** @var string */
|
||||
private $timezone;
|
||||
|
||||
/** @var MainLoggerThread */
|
||||
private $logWriterThread;
|
||||
private string $timezone;
|
||||
private MainLoggerThread $logWriterThread;
|
||||
|
||||
/**
|
||||
* @throws \RuntimeException
|
||||
|
Reference in New Issue
Block a user