mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Fix for log file
This commit is contained in:
parent
5355a95d1d
commit
1c20fcc8c7
@ -44,7 +44,7 @@ class MainLogger extends \ThreadedLogger{
|
||||
throw new \RuntimeException("MainLogger has been already created");
|
||||
}
|
||||
static::$logger = $this;
|
||||
@mkdir(basename($logFile), 0777, true);
|
||||
touch(basename($logFile));
|
||||
$this->logFile = $logFile;
|
||||
$this->hasANSI = (bool) $hasANSI;
|
||||
$this->logDebug = (bool) $logDebug;
|
||||
|
Loading…
x
Reference in New Issue
Block a user