‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture:
TYPO3\CMS\Core\Log\Writer\AbstractWriter TYPO3\CMS\Core\Log\Writer\WriterInterface

Public Member Functions

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

Protected Attributes

array $records = []
 

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

A writer dedicated for testing

Definition at line 26 of file WriterFixture.php.

Member Function Documentation

◆ getRecords()

TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture::getRecords ( )

◆ writeLog()

TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture::writeLog ( LogRecord  $record)

Writes the log record

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

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

Definition at line 30 of file WriterFixture.php.

References TYPO3\CMS\Webhooks\Message\$record.

Member Data Documentation

◆ $records

array TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture::$records = []
protected