Log extends AbstractSubModule implements DataProviderInterface, ModuleSettingsProviderInterface, RequestEnricherInterface
Log Sub Module of the AdminPanel
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- DataProviderInterface
- Adminpanel interface to denote that a module provides data to be stored for the current request
- ModuleSettingsProviderInterface
- Adminpanel module settings interface denotes that a module has own settings.
- RequestEnricherInterface
- Adminpanel interface to denote that a module has tasks to perform on initialization of the request and may enrich said request
Properties
- $logLevel : int
Methods
- __construct() : mixed
- enrich() : ServerRequestInterface
- Initialize the module - runs in the TYPO3 middleware stack at an early point may manipulate the current request
- getContent() : string
- Sub-Module content as rendered HTML
- getDataToStore() : ModuleData
- getIdentifier() : string
- Identifier for this module, for example "preview" or "cache"
- getLabel() : string
- Sub-Module label
- getSettings() : string
- getBackendUser() : BackendUserAuthentication
- getConfigOption() : string
- getLanguageService() : LanguageService
- setLoggingConfigRecursive() : array<string|int, mixed>
Properties
$logLevel
protected
int
$logLevel
Methods
__construct()
public
__construct(ConfigurationService $configurationService, ViewFactoryInterface $viewFactory) : mixed
Parameters
- $configurationService : ConfigurationService
- $viewFactory : ViewFactoryInterface
enrich()
Initialize the module - runs in the TYPO3 middleware stack at an early point may manipulate the current request
public
enrich(ServerRequestInterface $request) : ServerRequestInterface
Parameters
- $request : ServerRequestInterface
Return values
ServerRequestInterfacegetContent()
Sub-Module content as rendered HTML
public
getContent(ModuleData $data) : string
Parameters
- $data : ModuleData
Return values
stringgetDataToStore()
public
getDataToStore(ServerRequestInterface $request) : ModuleData
Parameters
- $request : ServerRequestInterface
Return values
ModuleDatagetIdentifier()
Identifier for this module, for example "preview" or "cache"
public
getIdentifier() : string
Return values
stringgetLabel()
Sub-Module label
public
getLabel() : string
Return values
stringgetSettings()
public
getSettings() : string
Return values
stringgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetConfigOption()
protected
getConfigOption(string $option) : string
Parameters
- $option : string
Return values
stringgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicesetLoggingConfigRecursive()
protected
setLoggingConfigRecursive(array<string|int, mixed> $logConfig) : array<string|int, mixed>
Parameters
- $logConfig : array<string|int, mixed>