‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Log\Writer\PhpErrorLogWriter Class Reference
Inheritance diagram for TYPO3\CMS\Core\Log\Writer\PhpErrorLogWriter:
TYPO3\CMS\Core\Log\Writer\AbstractWriter TYPO3\CMS\Core\Log\Writer\WriterInterface

Public Member Functions

TYPO3 CMS Core Log Writer WriterInterface writeLog (LogRecord $record)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Log\Writer\AbstractWriter
 __construct (array $options=[])
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\Writer\AbstractWriter
 interpolate (string $message, array $context=[])
 
 formatContextValue (string $value)
 
 formatException (\Throwable $ex)
 

Detailed Description

Log writer that writes the log records into PHP error log.

Definition at line 23 of file PhpErrorLogWriter.php.

Member Function Documentation

◆ writeLog()

TYPO3 CMS Core Log Writer WriterInterface TYPO3\CMS\Core\Log\Writer\PhpErrorLogWriter::writeLog ( LogRecord  $record)

Writes the log record

Parameters
LogRecord$recordLog record
Returns
‪\TYPO3\CMS\Core\Log\Writer\WriterInterface $this
Exceptions

Implements TYPO3\CMS\Core\Log\Writer\WriterInterface.

Definition at line 32 of file PhpErrorLogWriter.php.

References TYPO3\CMS\Webhooks\Message\$record, and TYPO3\CMS\Core\Log\Writer\AbstractWriter\formatException().