‪TYPO3CMS  11.5
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 ()
 
string getIdentifier ()
 
string getLabel ()
 
 getDataToStore (ServerRequestInterface $request)
 
 getSettings ()
 
string getContent (ModuleData $data)
 
 enrich (ServerRequestInterface $request)
 

Protected Member Functions

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

Protected Attributes

int $logLevel
 
ConfigurationService $configurationService
 

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 ( )

Definition at line 47 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

Parameters
ServerRequestInterface$request
Returns
‪\Psr\Http\Message\ServerRequestInterface

Implements TYPO3\CMS\Adminpanel\ModuleApi\RequestEnricherInterface.

Definition at line 180 of file Log.php.

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

◆ getConfigOption()

string TYPO3\CMS\Adminpanel\Modules\Debug\Log::getConfigOption ( string  $option)
protected

◆ getContent()

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

Sub-Module content as rendered HTML

Parameters
\TYPO3\CMS\Adminpanel\ModuleApi\ModuleData$data
Returns
‪string

Implements TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface.

Definition at line 142 of file Log.php.

References TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule\getBackendUser(), TYPO3\CMS\Adminpanel\Modules\Debug\Log\getConfigOption(), and TYPO3\CMS\Core\Log\LogLevel\normalizeLevel().

◆ getDataToStore()

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

◆ getIdentifier()

string TYPO3\CMS\Adminpanel\Modules\Debug\Log::getIdentifier ( )
Returns
‪string

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface.

Definition at line 56 of file Log.php.

◆ getLabel()

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

◆ getSettings()

◆ setLoggingConfigRecursive()

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

Definition at line 194 of file Log.php.

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

Member Data Documentation

◆ $configurationService

ConfigurationService TYPO3\CMS\Adminpanel\Modules\Debug\Log::$configurationService
protected

Definition at line 45 of file Log.php.

◆ $logLevel

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

Definition at line 41 of file Log.php.