Definition at line 14 of file Base.php.
◆ __construct()
__construct |
( |
DriverInterface |
$filesystem, |
|
|
|
$filePath = null , |
|
|
|
$fileName = null |
|
) |
| |
- Parameters
-
DriverInterface | $filesystem | |
string | $filePath | |
string | $fileName | |
Definition at line 36 of file Base.php.
43 $this->fileName = $this->sanitizeFileName(
$fileName);
46 $filePath ? $filePath . $this->fileName :
BP . DIRECTORY_SEPARATOR . $this->fileName,
50 $this->setFormatter(
new LineFormatter(
null,
null,
true));
◆ write()
- Parameters
-
- Returns
- void
Definition at line 80 of file Base.php.
82 $logDir = $this->filesystem->getParentDirectory($this->url);
83 if (!$this->filesystem->isDirectory($logDir)) {
84 $this->filesystem->createDirectory($logDir);
87 parent::write($record);
◆ $fileName
◆ $filesystem
◆ $loggerType
$loggerType = Logger::DEBUG |
|
protected |
The documentation for this class was generated from the following file:
- vendor/magento/framework/Logger/Handler/Base.php