‪TYPO3CMS  ‪main
TYPO3\CMS\Lowlevel\Command\ListSysLogCommand Class Reference
Inheritance diagram for TYPO3\CMS\Lowlevel\Command\ListSysLogCommand:
TYPO3\CMS\Core\Log\LogDataTrait

Public Member Functions

 configure ()
 

Protected Member Functions

 execute (InputInterface $input, OutputInterface $output)
 
string arrayToLogString (array $arr, array $valueList)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
 unserializeLogData (mixed $logData)
 
 formatLogDetails (string $detailString, mixed $substitutes)
 

Additional Inherited Members

- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Log\LogDataTrait
static formatLogDetailsStatic (string $detailString, array $substitutes)
 

Detailed Description

Lists all sys_log entries from the last 24 hours by default This is the most basic and can be useful for nightly check test reports.

Definition at line 32 of file ListSysLogCommand.php.

Member Function Documentation

◆ arrayToLogString()

string TYPO3\CMS\Lowlevel\Command\ListSysLogCommand::arrayToLogString ( array  $arr,
array  $valueList 
)
protected

Converts a one dimensional array to a one line string which can be used for logging or debugging output Example: "loginType: FE; refInfo: Array; HTTP_HOST: www.example.org; REMOTE_ADDR: 192.168.1.5; REMOTE_HOST:; security_level:; showHiddenRecords: 0;"

Parameters
array$arr‪Data array which should be outputted
array$valueList‪List of keys which should be listed in the output string.
Returns
‪string Output string with key names and their value as string

Definition at line 126 of file ListSysLogCommand.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\fixed_lgd_cs().

Referenced by TYPO3\CMS\Lowlevel\Command\ListSysLogCommand\execute().

◆ configure()

TYPO3\CMS\Lowlevel\Command\ListSysLogCommand::configure ( )

Configure the command by defining the name, options and arguments

Definition at line 38 of file ListSysLogCommand.php.

◆ execute()

TYPO3\CMS\Lowlevel\Command\ListSysLogCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected