mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
Fixed server.log created in two different places on path changed
This commit is contained in:
@ -45,7 +45,7 @@ class MainLogger extends \AttachableThreadedLogger{
|
|||||||
throw new \RuntimeException("MainLogger has been already created");
|
throw new \RuntimeException("MainLogger has been already created");
|
||||||
}
|
}
|
||||||
static::$logger = $this;
|
static::$logger = $this;
|
||||||
touch(basename($logFile));
|
touch($logFile);
|
||||||
$this->logFile = $logFile;
|
$this->logFile = $logFile;
|
||||||
$this->hasANSI = (bool) $hasANSI;
|
$this->hasANSI = (bool) $hasANSI;
|
||||||
$this->logDebug = (bool) $logDebug;
|
$this->logDebug = (bool) $logDebug;
|
||||||
|
Reference in New Issue
Block a user