‪TYPO3CMS  11.5
TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter Class Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter:
TYPO3\CMS\Core\Log\Writer\AbstractWriter TYPO3\CMS\Core\Log\Writer\WriterInterface

Public Member Functions

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

Static Public Attributes

static LogRecord[] $log = array( )

Protected Member Functions

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

Static Private Attributes

static bool $memoryLock = false

Detailed Description

Log writer that writes the log records into a static public class variable for InMemory processing

Definition at line 33 of file InMemoryLogWriter.php.

Member Function Documentation

◆ lockWriter()

TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter::lockWriter ( )

Lock writer and add an info message that there may potentially be more entries.

Definition at line 75 of file InMemoryLogWriter.php.

Referenced by TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter\writeLog().

◆ writeLog()

Member Data Documentation

◆ $log

◆ $memoryLock

bool TYPO3\CMS\Adminpanel\Log\InMemoryLogWriter::$memoryLock = false

Definition at line 41 of file InMemoryLogWriter.php.