‪TYPO3CMS  ‪main
TYPO3\CMS\Adminpanel\Modules\Debug\Log Class Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\Modules\Debug\Log:
TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule TYPO3\CMS\Adminpanel\ModuleApi\DataProviderInterface TYPO3\CMS\Adminpanel\ModuleApi\ModuleSettingsProviderInterface TYPO3\CMS\Adminpanel\ModuleApi\RequestEnricherInterface TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface

Public Member Functions

 __construct (private readonly ConfigurationService $configurationService,)
 
 getIdentifier ()
 
 getLabel ()
 
 getDataToStore (ServerRequestInterface $request)
 
 getSettings ()
 
 getContent (ModuleData $data)
 
 enrich (ServerRequestInterface $request)
 

Protected Member Functions

 setLoggingConfigRecursive (array $logConfig)
 
 getConfigOption (string $option)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

int $logLevel
 

Detailed Description

Log Sub Module of the AdminPanel

Definition at line 37 of file Log.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::__construct ( private readonly ConfigurationService  $configurationService)

Definition at line 41 of file Log.php.

References TYPO3\CMS\Core\Log\LogLevel\normalizeLevel().

Member Function Documentation

◆ enrich()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::enrich ( ServerRequestInterface  $request)

Initialize the module - runs in the TYPO3 middleware stack at an early point may manipulate the current request

Implements TYPO3\CMS\Adminpanel\ModuleApi\RequestEnricherInterface.

Definition at line 157 of file Log.php.

References $GLOBALS, TYPO3\CMS\Adminpanel\Modules\Debug\Log\getConfigOption(), and TYPO3\CMS\Adminpanel\Modules\Debug\Log\setLoggingConfigRecursive().

◆ getConfigOption()

◆ getContent()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::getContent ( ModuleData  $data)

◆ getDataToStore()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::getDataToStore ( ServerRequestInterface  $request)

◆ getIdentifier()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::getIdentifier ( )

Identifier for this module, for example "preview" or "cache"

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface.

Definition at line 47 of file Log.php.

◆ getLabel()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::getLabel ( )

◆ getSettings()

◆ setLoggingConfigRecursive()

TYPO3\CMS\Adminpanel\Modules\Debug\Log::setLoggingConfigRecursive ( array  $logConfig)
protected

Definition at line 171 of file Log.php.

Referenced by TYPO3\CMS\Adminpanel\Modules\Debug\Log\enrich().

Member Data Documentation

◆ $logLevel

int TYPO3\CMS\Adminpanel\Modules\Debug\Log::$logLevel
protected

Definition at line 39 of file Log.php.