ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilLogLevel.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
15
class
ilLogLevel
16
{
17
const
DEBUG
= 100;
18
const
INFO
= 200;
19
const
NOTICE
= 250;
20
const
WARNING
= 300;
21
const
ERROR
= 400;
22
const
CRITICAL
= 500;
23
const
ALERT
= 550;
24
const
EMERGENCY
= 600;
25
26
const
OFF
= 1000;
27
28
29
30
public
static
function
getLevels
()
31
{
32
return
array(
33
self::DEBUG
,
34
self::INFO,
35
self::NOTICE,
36
self::WARNING,
37
self::ERROR,
38
self::CRITICAL,
39
self::ALERT,
40
self::EMERGENCY,
41
self::OFF
42
);
43
}
44
45
50
public
static
function
getLevelOptions
()
51
{
52
global
$DIC
;
53
54
$lng
= $DIC[
'lng'
];
55
56
return
array(
57
self::DEBUG
=>
$lng
->txt(
'log_level_debug'
),
58
self::INFO =>
$lng
->txt(
'log_level_info'
),
59
self::NOTICE =>
$lng
->txt(
'log_level_notice'
),
60
self::WARNING =>
$lng
->txt(
'log_level_warning'
),
61
self::ERROR =>
$lng
->txt(
'log_level_error'
),
62
self::CRITICAL =>
$lng
->txt(
'log_level_critical'
),
63
self::ALERT =>
$lng
->txt(
'log_level_alert'
),
64
self::EMERGENCY =>
$lng
->txt(
'log_level_emergency'
),
65
self::OFF =>
$lng
->txt(
'log_level_off'
)
66
);
67
}
68
}
ilLogLevel
Logging factory.
Definition:
class.ilLogLevel.php:15
ilLogLevel\CRITICAL
const CRITICAL
Definition:
class.ilLogLevel.php:22
$DIC
global $DIC
Definition:
saml.php:7
ilLogLevel\getLevelOptions
static getLevelOptions()
Get log level options.
Definition:
class.ilLogLevel.php:50
ilLogLevel\EMERGENCY
const EMERGENCY
Definition:
class.ilLogLevel.php:24
ilLogLevel\ERROR
const ERROR
Definition:
class.ilLogLevel.php:21
ilLogLevel\getLevels
static getLevels()
Definition:
class.ilLogLevel.php:30
DEBUG
const DEBUG
Definition:
inc.setup_header.php:41
ilLogLevel\ALERT
const ALERT
Definition:
class.ilLogLevel.php:23
ilLogLevel\INFO
const INFO
Definition:
class.ilLogLevel.php:18
$lng
$lng
Definition:
save_question_post_data.php:23
ilLogLevel\WARNING
const WARNING
Definition:
class.ilLogLevel.php:20
ilLogLevel\OFF
const OFF
Definition:
class.ilLogLevel.php:26
ilLogLevel\NOTICE
const NOTICE
Definition:
class.ilLogLevel.php:19
php
ilLogLevel\DEBUG
const DEBUG
Definition:
class.ilLogLevel.php:17
Services
Logging
classes
public
class.ilLogLevel.php
Generated on Thu Jan 30 2025 19:01:59 for ILIAS by
1.8.13 (using
Doxyfile
)