ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilLogLevel Class Reference

Logging factory. More...

+ Collaboration diagram for ilLogLevel:

Static Public Member Functions

static getLevels ()
 
static getLevelOptions ()
 

Data Fields

const DEBUG = 100
 
const INFO = 200
 
const NOTICE = 250
 
const WARNING = 300
 
const ERROR = 400
 
const CRITICAL = 500
 
const ALERT = 550
 
const EMERGENCY = 600
 
const OFF = 1000
 

Detailed Description

Logging factory.

This class supplies an implementation for the locator. The locator will send its output to ist own frame, enabling more flexibility in the design of the desktop.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 30 of file class.ilLogLevel.php.

Member Function Documentation

◆ getLevelOptions()

static ilLogLevel::getLevelOptions ( )
static

Definition at line 61 of file class.ilLogLevel.php.

References $DIC, $lng, and ILIAS\MetaData\Editor\Http\DEBUG.

Referenced by ilLogComponentTableGUI\fillRow(), and ilObjLoggingSettingsGUI\initFormSettings().

61  : array
62  {
63  global $DIC;
64 
65  $lng = $DIC->language();
66  return array(
67  self::DEBUG => $lng->txt('log_level_debug'),
68  self::INFO => $lng->txt('log_level_info'),
69  self::NOTICE => $lng->txt('log_level_notice'),
70  self::WARNING => $lng->txt('log_level_warning'),
71  self::ERROR => $lng->txt('log_level_error'),
72  self::CRITICAL => $lng->txt('log_level_critical'),
73  self::ALERT => $lng->txt('log_level_alert'),
74  self::EMERGENCY => $lng->txt('log_level_emergency'),
75  self::OFF => $lng->txt('log_level_off')
76  );
77  }
global $DIC
Definition: shib_login.php:22
global $lng
Definition: privfeed.php:31
+ Here is the caller graph for this function:

◆ getLevels()

static ilLogLevel::getLevels ( )
static

Definition at line 45 of file class.ilLogLevel.php.

References ILIAS\MetaData\Editor\Http\DEBUG.

Referenced by ilLogger\logStack(), and ilLogger\write().

45  : array
46  {
47  return array(
49  self::INFO,
50  self::NOTICE,
51  self::WARNING,
52  self::ERROR,
53  self::CRITICAL,
54  self::ALERT,
55  self::EMERGENCY,
56  self::OFF
57  );
58  }
+ Here is the caller graph for this function:

Field Documentation

◆ ALERT

const ilLogLevel::ALERT = 550

Definition at line 38 of file class.ilLogLevel.php.

◆ CRITICAL

const ilLogLevel::CRITICAL = 500

Definition at line 37 of file class.ilLogLevel.php.

Referenced by ilLog\__construct(), and ilLogComponentLevelTest\testLevel().

◆ DEBUG

const ilLogLevel::DEBUG = 100

Definition at line 32 of file class.ilLogLevel.php.

Referenced by ilLoggingDBSettings\__construct(), ilObjRole\adjustPermissions(), ilCourseAppEventListener\awardCertificate(), ilLDAPQuery\checkGroupMembership(), ilRbacAdmin\copyRolePermissionIntersection(), ilRbacAdmin\copyRolePermissionSubtract(), ilRbacAdmin\copyRolePermissionUnion(), ilRbacAdmin\copyRoleTemplatePermissions(), ilRbacAdmin\deleteRole(), ilRbacAdmin\deleteRolePermission(), ilECSCourseCreationHandler\doAttributeMapping(), ilAuthProviderOpenIdConnect\doAuthentication(), ilObjRoleFolderGUI\doChangeExistingObjects(), ilECSCmsCourseMemberCommandQueueHandler\doUpdate(), ilECSMappingSettingsGUI\dSynchronizeTrees(), ilLoggerFactory\getComponentLogger(), ilUserAutoComplete\getList(), ilRbacAdmin\grantPermission(), ilAuthFrontend\handleAccountMigration(), ilECSCmsTreeCommandQueueHandler\handleCreate(), ilCourseReferenceAppEventListener\handleReferences(), ilECSCmsTreeCommandQueueHandler\handleUpdate(), ilLTIAppEventListener\handleUpdateStatus(), ilAuthFrontendCredentialsApache\initFromRequest(), ilTimingsUser\lookupTimings(), ilOpenIdConnectUserSync\needsCreation(), ilDidacticTemplateImport\parseLocalPolicyAction(), ilUserAutoComplete\parseQueryString(), ilOpenIdConnectUserSync\parseRoleAssignments(), ilECSConnector\prepareConnection(), ILIAS\Export\ImportHandler\SchemaFolder\Handler\readSchemaFiles(), ilLDAPUserSynchronisation\readUserData(), ilRbacAdmin\revokePermission(), ilRbacAdmin\revokePermissionList(), ilMDGeneral\save(), ilLTIDataConnector\saveResourceLink(), ilOpenIdConnectSettingsGUI\saveRoles(), ilAuthProviderLDAP\updateAccount(), and ilAuthProviderECS\validateHash().

◆ EMERGENCY

const ilLogLevel::EMERGENCY = 600

Definition at line 39 of file class.ilLogLevel.php.

◆ ERROR

◆ INFO

◆ NOTICE

const ilLogLevel::NOTICE = 250

◆ OFF

const ilLogLevel::OFF = 1000

Definition at line 41 of file class.ilLogLevel.php.

◆ WARNING


The documentation for this class was generated from the following file: