|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Logging factory. More...
Collaboration diagram for ilLoggerFactory:Public Member Functions | |
| isLoggingEnabled () | |
| initUser (string $a_login) | |
| Init user specific log options. More... | |
| getSettings () | |
| getComponentLogger (string $a_component_id) | |
Static Public Member Functions | |
| static | getInstance () |
| static | newInstance (ilLoggingSettings $settings) |
| static | getLogger (string $a_component_id) |
| Get component logger. More... | |
| static | getRootLogger () |
| The unique root logger has a fixed error level. More... | |
Protected Member Functions | |
| __construct (ilLoggingSettings $settings) | |
| isConsoleAvailable () | |
| Check if console handler is available. More... | |
| getLoggers () | |
Protected Attributes | |
| const | DEFAULT_FORMAT = "[%suid%] [%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" |
| const | ROOT_LOGGER = 'root' |
| const | COMPONENT_ROOT = 'log_root' |
| const | SETUP_LOGGER = 'setup' |
| Container | $dic |
Private Attributes | |
| ilLoggingSettings | $settings |
| bool | $enabled = false |
| array | $loggers = array() |
Static Private Attributes | |
| static ilLoggerFactory | $instance = null |
Logging factory.
Definition at line 38 of file class.ilLoggerFactory.php.
|
protected |
Definition at line 58 of file class.ilLoggerFactory.php.
References $DIC, $settings, getSettings(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilLoggerFactory::getComponentLogger | ( | string | $a_component_id | ) |
Definition at line 171 of file class.ilLoggerFactory.php.
References CLIENT_ID, ilLogLevel\DEBUG, ILIAS\MetaData\Editor\Http\DEBUG, getSettings(), isConsoleAvailable(), and isLoggingEnabled().
Here is the call graph for this function:
|
static |
Definition at line 67 of file class.ilLoggerFactory.php.
References ilLoggingDBSettings\getInstance().
Referenced by ilDataCollectionObjective\achieve(), ilRbacAdmin\assignUser(), ilRbacAdmin\deassignUser(), ilCourseAppEventListener\handleUserAssignments(), ilInitialisation\initILIAS(), and ilInitialisation\initUserAccount().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get component logger.
Definition at line 90 of file class.ilLoggerFactory.php.
Referenced by ilFSWebStorageExercise\__construct(), ilObjCategory\__construct(), ILIAS\COPage\PC\Paragraph\ParagraphResponseFactory\__construct(), ilBookCronNotification\__construct(), SurveyCategories\__construct(), ilImportMapping\__construct(), ilWikiDataSet\__construct(), ilMassMailTaskProcessor\__construct(), ilMailAddressTypeFactory\__construct(), ilCollectWorkspaceFilesJob\__construct(), ilExPeerReview\__construct(), ilGlossaryTermPermission\__construct(), ilContainerXmlParser\__construct(), ilObjLoggingSettingsGUI\__construct(), ilLTIAppEventListener\__construct(), ilCategoryXmlParser\__construct(), ilSurveySkill\__construct(), ilMediaObjectDataSet\__construct(), ilGlossaryDataSet\__construct(), ilCheckSumOfWorkspaceFileSizesJob\__construct(), ilCopyWorkspaceFilesToTempDirectoryJob\__construct(), ilRepoStandardUploadHandlerGUI\__construct(), ilObjWorkspaceFolderGUI\__construct(), ilLTIProviderObjectSetting\__construct(), ilWikiUserHTMLExport\__construct(), ilCmiXapiDelCron\__construct(), ilLearningModuleDataSet\__construct(), ilObjSurveyQuestionPoolGUI\__construct(), ilXapiResultsCronjob\__construct(), ilDownloadWorkspaceFolderBackgroundTask\__construct(), ilCmiXapiDelModel\__construct(), ilLTIDataConnector\__construct(), ilGlossaryTermGUI\__construct(), SurveyQuestionGUI\__construct(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailDeletionHandler\__construct(), ILIAS\COPage\Editor\Server\Server\__construct(), ilAdvancedMDParser\__construct(), ilRpcClient\__construct(), ilObjSCORM2004LearningModule\__construct(), ilPDStudyProgrammeSimpleListGUI\__construct(), ilPageContent\__construct(), ILIAS\LearningModule\Export\LMHtmlExport\__construct(), SurveyQuestion\__construct(), ILIAS\Wiki\Export\WikiHtmlExport\__construct(), ilExAssignmentReminder\__construct(), ilSurveyExecutionGUI\__construct(), ilObjMediaPoolGUI\__construct(), ilMail\__construct(), ilRbacReview\__construct(), ilCOPageHTMLExport\__construct(), ilObjWikiGUI\__construct(), ilCmiXapiStatementsDeleteRequest\__construct(), ilAppEventHandler\__construct(), ilSurveyEvaluationGUI\__construct(), ilMembershipCronNotificationsData\__construct(), ilStartUpGUI\__construct(), ilLTIViewGUI\__construct(), ilAdvancedMDRecordParser\__construct(), ilStyleDataSet\__construct(), ilAccess\__construct(), ilLTITool\__construct(), ilDataSet\__construct(), ilPageContentGUI\__construct(), ilLTIProviderObjectSettingGUI\__construct(), ilMDBase\__construct(), ilObjStudyProgramme\__construct(), ilObjFile\__construct(), ilPageEditorGUI\__construct(), ilObjUserFolderGUI\__construct(), ilQuestionPageParser\__construct(), ilNoteGUI\__construct(), ilObjFileGUI\__construct(), ilPageObject\__construct(), ilExAssignment\__construct(), ilTree\__construct(), ilObjSurvey\__construct(), ilPageObjectGUI\__construct(), ilContainer\_exportContainerSettings(), ilObjUser\_getUsersOnline(), ilPCParagraph\_input2xml(), ilObject\_prepareCloneSelection(), ilTree\_removeEntry(), ilObjSCORMTracking\_syncReadEvent(), ilLPStatus\_updateStatus(), ilContainer\_writeContainerSetting(), ilObject\applyDidacticTemplate(), ilGroupMembershipGUI\assignMembers(), ilLearningSequenceMembershipGUI\assignMembers(), ilCourseMembershipGUI\assignMembers(), ilCronStartUp\authenticate(), ilInitialisation\blockedAuthentication(), ilStudyProgrammeDIC\buildDIC(), ilCmiXapiStatementsReportLinkBuilder\buildPipeline(), ilObjCmiXapiGUI\buildReportFilter(), ilAuthProviderSaml\buildUserAttributeXml(), ilvCard\buildVCard(), ilSoapUtils\callNextDependency(), ilSoapUtils\callNextNode(), ilAuthFrontend\checkIp(), ilContainer\cloneAllObject(), ilCourseObjectiveQuestion\cloneDependencies(), ilSoapUtils\cloneDependencies(), ilSoapUtils\cloneNode(), ilContainerSorting\cloneSorting(), ilWikiUtil\collectInternalLinks(), ILIAS\Awareness\User\Collector\collectUsers(), ilLORandomTestQuestionPools\copy(), ilQuestionPageParser\copyMobFiles(), ilObjectCopyGUI\copyMultipleNonContainer(), ilContainer\create(), ilObjMediaObject\delete(), ilObjRole\delete(), ilSCORMItem\delete(), ilObjSAHSLearningModule\delete(), ilPageObject\delete(), ilPCMediaObject\deleteHistoryLowerEqualThan(), ilAccountRegistrationGUI\distributeMails(), ilLDAPServer\doConnectionCheck(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doSamlAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilExSubmission\downloadAllAssignmentFiles(), ilUserProfileStartUpStep\execute(), ilObjSAHSLearningModuleGUI\executeCommand(), ilSCORMPresentationGUI\executeCommand(), ilSAHSEditGUI\executeCommand(), ilRepositoryGUI\executeCommand(), ilSCORMPresentationGUI\explorer(), ilObjCmiXapiGUI\fetchXapiStatements(), ilChatroomServerConnector\file_get_contents(), ilLuceneSearchResultFilter\filter(), ilLTIPlatform\fromConsumerKey(), ilLTIPlatform\fromRecordId(), SeqTreeBuilder\getADLSEQObjectives(), ILIAS\Skill\Usage\SkillUsageManager\getAllUsagesOfTemplate(), ilSCORM13PlayerGUI\getDebugValues(), ilObjSCORMInitData\getIliasScormVars(), ILIAS\Awareness\User\ProviderCurrentCourse\getInitialUserSet(), ilObjLTIConsumer\getLogger(), ilSCORM13PlayerGUI\getNodeData(), ilNotification\getNotificationsForObject(), SeqTreeBuilder\getObjectives(), ilExAssignment\getPendingFeedbackNotifications(), ilObjectPlugin\getPluginObjectByType(), ilObjSurvey\getSurveysWithTutorResults(), ilInitialisation\goToLogin(), ilInitialisation\handleAuthenticationFail(), ilAuthFrontend\handleAuthenticationSuccess(), ilCourseReferenceAppEventListener\handleEvent(), ilLTIAppEventListener\handleEvent(), ilLTIAppEventListener\handleOutcomeWithoutLP(), ilSurveySkill\handleQuestionDeletion(), ilWebLinkXmlParser\handlerEndTag(), ilAuthProviderSaml\handleSamlAuth(), ilLuceneSearcher\highlight(), ilSCORM13Package\il_import(), ilSoapUtils\ilClone(), ilSoapUtils\ilCloneDependencies(), ilAuthProviderSaml\importUser(), ilContainerImporter\init(), ilWikiExporter\init(), ilStyleImporter\init(), ilLearningModuleImporter\init(), ilWebDAVDIC\init(), ilSurveyImporter\init(), ilObjectCopyGUI\init(), ilObjectRolePermissionTableGUI\initColumns(), ilDidacticTemplateSettingsGUI\initEditTemplate(), ilAuthFrontendCredentialsLTI\initFromRequest(), ilRbacAdmin\initIntersectionPermissions(), ilNestedSetTree\insertNode(), ilTree\insertNodeFromTrash(), ilRepUtil\insertSavedNodes(), ilAuthProviderLTI\isAuthModeLTI(), ilUserProfile\isProfileIncomplete(), ilSoapUtils\linkNode(), ilSoapUserAdministration\login(), ilLTIDataConnector\lookupResourcesForAllUsersSinceDate(), ilLTIDataConnector\lookupResourcesForUserObjectRelation(), ilMDRights\lookupRightsByTypeAndCopyright(), ilPCResources\modifyItemGroupRefIdsByMapping(), ilNestedSetTree\moveTree(), ilLuceneHighlighterResultParser\parse(), ilAdministrationSettingsFormHandler\parseFieldValue(), ilRepositoryObjectDetailSearch\performLuceneSearch(), ilObjectSearch\performSearch(), ilLuceneSearcher\performSearch(), ilSCORM2004StoreData\persistCMIData(), ilSCORM13PlayerGUI\postLogEntry(), ilStartUpGUI\processIndexPHP(), SurveyQuestion\QTIMaterialToString(), ilLPStatus\raiseEvent(), ilObjLTIAdministration\readReleaseObjects(), ilInitialisation\redirectToStartingPage(), ilSCORM13Package\removeCPData(), ilInitialisation\resumeUserSession(), ilLuceneIndexer\run(), ilSurveyCronNotification\run(), ilExcCronReminders\run(), ilCleanCOPageHistoryCronjob\run(), ilSkillNotifications\run(), ilMailCronOrphanedMails\run(), ilMailCronOrphanedMails\saveCustomSettings(), ilMultilingualismGUI\saveLanguages(), ilPermissionGUI\savePermissions(), ilMailLuceneSearcher\search(), ilLPTableBaseGUI\searchObjects(), ilMailMimeTransportNull\send(), ilMailMimeTransportBase\send(), ilExAssignment\sendFeedbackNotifications(), ilMailNotification\sendMail(), ilWikiUtil\sendNotification(), ilExAssignmentReminder\sentReminderPlaceholders(), ilObjSurvey\sentReminderPlaceholders(), ilRbacAdmin\setBlockedStatus(), ilSCORM2004StoreData\setCMIData(), ilFileXMLParser\setFileContents(), ilSCORM2004StoreData\setGlobalObjectives(), ilUserProfileStartUpStep\shouldInterceptRequest(), ilMailFormGUI\showForm(), ilStudyProgrammeDIC\specificDicFor(), ilSearchAppEventListener\storeElement(), ilObjSCORMTracking\storeJsApiCmi(), ilPasswordAssistanceGUI\submitAssistanceForm(), ilPasswordAssistanceGUI\submitUsernameAssistanceForm(), ilLDAPUserSynchronisation\sync(), ilObjSCORMTracking\syncGlobalStatus(), ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage(), ilPermissionGUI\unblockRoles(), ilObjCourseReference\update(), ilContainer\update(), ilLuceneIndexer\updateLuceneIndex(), ilObjGroupGUI\updateObject(), ilObjSAHSLearningModuleGUI\uploadObject(), ilLuceneSearchResult\valid(), ilScormAiccDataSet\writeData(), and ilSCORM2004StoreData\writeGObjective().
Here is the caller graph for this function:
|
protected |
Definition at line 166 of file class.ilLoggerFactory.php.
References $loggers.
|
static |
The unique root logger has a fixed error level.
Definition at line 99 of file class.ilLoggerFactory.php.
Referenced by ilAssFileUploadUploadsExporter\createFileUploadCollectionZipFile(), and ilInitialisation\initLog().
Here is the caller graph for this function:| ilLoggerFactory::getSettings | ( | ) |
Definition at line 158 of file class.ilLoggerFactory.php.
References $settings.
Referenced by __construct(), getComponentLogger(), and initUser().
Here is the caller graph for this function:| ilLoggerFactory::initUser | ( | string | $a_login | ) |
Init user specific log options.
Definition at line 109 of file class.ilLoggerFactory.php.
References getSettings(), and isConsoleAvailable().
Here is the call graph for this function:
|
protected |
Check if console handler is available.
Definition at line 128 of file class.ilLoggerFactory.php.
References ilContext\CONTEXT_WEB, and ilContext\getType().
Referenced by getComponentLogger(), and initUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLoggerFactory::isLoggingEnabled | ( | ) |
Definition at line 81 of file class.ilLoggerFactory.php.
References $enabled.
Referenced by getComponentLogger().
Here is the caller graph for this function:
|
static |
|
protected |
Definition at line 49 of file class.ilLoggerFactory.php.
|
private |
Definition at line 51 of file class.ilLoggerFactory.php.
Referenced by isLoggingEnabled().
|
staticprivate |
Definition at line 46 of file class.ilLoggerFactory.php.
|
private |
Definition at line 56 of file class.ilLoggerFactory.php.
Referenced by getLoggers().
|
private |
Definition at line 48 of file class.ilLoggerFactory.php.
Referenced by __construct(), getSettings(), and newInstance().
|
protected |
Definition at line 43 of file class.ilLoggerFactory.php.
|
protected |
Definition at line 40 of file class.ilLoggerFactory.php.
|
protected |
Definition at line 42 of file class.ilLoggerFactory.php.
|
protected |
Definition at line 44 of file class.ilLoggerFactory.php.