mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Fix for log file
This commit is contained in:
@@ -44,7 +44,7 @@ class MainLogger extends \ThreadedLogger{
|
|||||||
throw new \RuntimeException("MainLogger has been already created");
|
throw new \RuntimeException("MainLogger has been already created");
|
||||||
}
|
}
|
||||||
static::$logger = $this;
|
static::$logger = $this;
|
||||||
@mkdir(basename($logFile), 0777, true);
|
touch(basename($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