ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (private readonly TestLoggingSettings $logging_settings, private readonly TestLoggingRepository $logging_repository, private readonly Factory $interaction_factory, private readonly AdditionalInformationGenerator $additional_information, private readonly \ilComponentLogger $component_logger,) | |
isLoggingEnabled () | |
isIPLoggingEnabled () | |
testHasParticipantInteractions (int $ref_id) | |
deleteParticipantInteractionsForTest (int $ref_id) | |
logTestAdministrationInteraction (TestAdministrationInteraction $interaction) | |
logQuestionAdministrationInteraction (TestQuestionAdministrationInteraction $interaction) | |
logParticipantInteraction (TestParticipantInteraction $interaction) | |
logScoringInteraction (TestScoringInteraction $interaction) | |
emergency (string|\Stringable $message, array $context=[]) | |
alert (string|\Stringable $message, array $context=[]) | |
critical (string|\Stringable $message, array $context=[]) | |
error (string|\Stringable $message, array $context=[]) | |
warning (string|\Stringable $message, array $context=[]) | |
notice (string|\Stringable $message, array $context=[]) | |
info (string|\Stringable $message, array $context=[]) | |
debug (string|\Stringable $message, array $context=[]) | |
log ($level, string|\Stringable $message, mixed $context=[]) | |
getComponentLogger () | |
getInteractionFactory () | |
getAdditionalInformationGenerator () | |
getLogEntryTypes () | |
getInteractionTypes () | |
Private Member Functions | |
createTestErrorFromContext (array $context, string $message) | |
Private Attributes | |
const | LOG_ENTRY_TYPES |
Definition at line 27 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::__construct | ( | private readonly TestLoggingSettings | $logging_settings, |
private readonly TestLoggingRepository | $logging_repository, | ||
private readonly Factory | $interaction_factory, | ||
private readonly AdditionalInformationGenerator | $additional_information, | ||
private readonly \ilComponentLogger | $component_logger | ||
) |
Definition at line 36 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::alert | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
Definition at line 98 of file TestLogger.php.
References $context, $message, and ILIAS\Test\Logging\TestLogger\createTestErrorFromContext().
|
private |
Definition at line 206 of file TestLogger.php.
References $context, $message, and ILIAS\Test\Logging\ERROR_ON_UNDEFINED_INTERACTION.
Referenced by ILIAS\Test\Logging\TestLogger\alert(), ILIAS\Test\Logging\TestLogger\critical(), ILIAS\Test\Logging\TestLogger\emergency(), ILIAS\Test\Logging\TestLogger\error(), and ILIAS\Test\Logging\TestLogger\log().
ILIAS\Test\Logging\TestLogger::critical | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
Definition at line 112 of file TestLogger.php.
References $context, $message, and ILIAS\Test\Logging\TestLogger\createTestErrorFromContext().
ILIAS\Test\Logging\TestLogger::debug | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
ILIAS\Test\Logging\TestLogger::deleteParticipantInteractionsForTest | ( | int | $ref_id | ) |
Definition at line 60 of file TestLogger.php.
References $ref_id.
ILIAS\Test\Logging\TestLogger::emergency | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
Definition at line 85 of file TestLogger.php.
References $context, $message, and ILIAS\Test\Logging\TestLogger\createTestErrorFromContext().
ILIAS\Test\Logging\TestLogger::error | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
Definition at line 125 of file TestLogger.php.
References $context, $message, and ILIAS\Test\Logging\TestLogger\createTestErrorFromContext().
ILIAS\Test\Logging\TestLogger::getAdditionalInformationGenerator | ( | ) |
Definition at line 184 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::getComponentLogger | ( | ) |
Definition at line 174 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::getInteractionFactory | ( | ) |
Definition at line 179 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::getInteractionTypes | ( | ) |
Definition at line 197 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::getLogEntryTypes | ( | ) |
Definition at line 192 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::info | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
ILIAS\Test\Logging\TestLogger::isIPLoggingEnabled | ( | ) |
Definition at line 50 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::isLoggingEnabled | ( | ) |
Definition at line 45 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::log | ( | $level, | |
string|\Stringable | $message, | ||
mixed | $context = [] |
||
) |
Definition at line 159 of file TestLogger.php.
References $context, $message, ILIAS\Test\Logging\TestLogger\createTestErrorFromContext(), and ilLogLevel\ERROR.
ILIAS\Test\Logging\TestLogger::logParticipantInteraction | ( | TestParticipantInteraction | $interaction | ) |
Definition at line 75 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::logQuestionAdministrationInteraction | ( | TestQuestionAdministrationInteraction | $interaction | ) |
Definition at line 70 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::logScoringInteraction | ( | TestScoringInteraction | $interaction | ) |
Definition at line 80 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::logTestAdministrationInteraction | ( | TestAdministrationInteraction | $interaction | ) |
Definition at line 65 of file TestLogger.php.
ILIAS\Test\Logging\TestLogger::notice | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
ILIAS\Test\Logging\TestLogger::testHasParticipantInteractions | ( | int | $ref_id | ) |
Definition at line 55 of file TestLogger.php.
References $ref_id.
ILIAS\Test\Logging\TestLogger::warning | ( | string|\Stringable | $message, |
array | $context = [] |
||
) |
|
private |
Definition at line 29 of file TestLogger.php.