update changelog and fix cs
This commit is contained in:
@@ -46,11 +46,13 @@ class TlogDestinationFile extends AbstractTlogDestination
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
protected function getFilePath() {
|
||||
protected function getFilePath()
|
||||
{
|
||||
return $this->getConfig(self::VAR_PATH_FILE);
|
||||
}
|
||||
|
||||
protected function getOpenMode() {
|
||||
protected function getOpenMode()
|
||||
{
|
||||
return strtolower($this->getConfig(self::VAR_MODE, self::VALEUR_MODE_DEFAULT)) == 'a' ? 'a' : 'w';
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
namespace Thelia\Log\Destination;
|
||||
|
||||
|
||||
use Thelia\Log\TlogDestinationConfig;
|
||||
use Thelia\Core\Translation\Translator;
|
||||
|
||||
@@ -98,4 +97,4 @@ class TlogDestinationRotatingFile extends TlogDestinationFile
|
||||
|
||||
return $arr;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user