ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilLoggingSetupSettings.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
25
class
ilLoggingSetupSettings
implements
ilLoggingSettings
26
{
27
private
bool
$enabled
=
false
;
28
private
string
$log_dir
=
''
;
29
private
string
$log_file
=
''
;
30
31
32
public
function
init
(): void
33
{
34
$ilIliasIniFile
=
new
ilIniFile
(
"./ilias.ini.php"
);
35
$ilIliasIniFile
->read();
36
37
$enabled =
$ilIliasIniFile
->readVariable(
'log'
,
'enabled'
);
38
$this->enabled = $enabled ==
'1'
;
39
$this->log_dir = (string)
$ilIliasIniFile
->readVariable(
'log'
,
'path'
);
40
$this->log_file = (string)
$ilIliasIniFile
->readVariable(
'log'
,
'file'
);
41
}
42
47
public
function
isEnabled
(): bool
48
{
49
return
$this->enabled
;
50
}
51
52
public
function
getLogDir
(): string
53
{
54
return
$this->log_dir
;
55
}
56
57
public
function
getLogFile
(): string
58
{
59
return
$this->log_file
;
60
}
61
66
public
function
getLevel
():
int
67
{
68
return
ilLogLevel::INFO
;
69
}
70
71
public
function
getLevelByComponent
(
string
$a_component_id):
int
72
{
73
return
$this->
getLevel
();
74
}
75
80
public
function
getCacheLevel
():
int
81
{
82
return
ilLogLevel::INFO
;
83
}
84
85
public
function
isCacheEnabled
(): bool
86
{
87
return
false
;
88
}
89
90
public
function
isMemoryUsageEnabled
(): bool
91
{
92
return
false
;
93
}
94
95
public
function
isBrowserLogEnabled
(): bool
96
{
97
return
false
;
98
}
99
100
public
function
isBrowserLogEnabledForUser
(
string
$a_login): bool
101
{
102
return
false
;
103
}
104
105
public
function
getBrowserLogUsers
(): array
106
{
107
return
array();
108
}
109
}
ilLoggingSetupSettings\getLogDir
getLogDir()
Definition:
class.ilLoggingSetupSettings.php:52
ilLoggingSetupSettings\$log_dir
string $log_dir
Definition:
class.ilLoggingSetupSettings.php:28
ilLoggingSetupSettings\isBrowserLogEnabled
isBrowserLogEnabled()
Definition:
class.ilLoggingSetupSettings.php:95
ilLoggingSetupSettings\getCacheLevel
getCacheLevel()
Get log Level.
Definition:
class.ilLoggingSetupSettings.php:80
ilLoggingSetupSettings\$log_file
string $log_file
Definition:
class.ilLoggingSetupSettings.php:29
ilLoggingSetupSettings\init
init()
Definition:
class.ilLoggingSetupSettings.php:32
ilLoggingSetupSettings
Logger settings for setup.
Definition:
class.ilLoggingSetupSettings.php:25
$ilIliasIniFile
$ilIliasIniFile
Definition:
server.php:35
ilLogLevel\INFO
const INFO
Definition:
class.ilLogLevel.php:33
ilLoggingSettings
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilLoggingSettings.php:27
ilLoggingSetupSettings\getBrowserLogUsers
getBrowserLogUsers()
Definition:
class.ilLoggingSetupSettings.php:105
ilLoggingSetupSettings\isBrowserLogEnabledForUser
isBrowserLogEnabledForUser(string $a_login)
Definition:
class.ilLoggingSetupSettings.php:100
ilLoggingSetupSettings\getLevelByComponent
getLevelByComponent(string $a_component_id)
Definition:
class.ilLoggingSetupSettings.php:71
ilIniFile
ilLoggingSetupSettings\$enabled
bool $enabled
Definition:
class.ilLoggingSetupSettings.php:27
ilLoggingSetupSettings\isEnabled
isEnabled()
Logging enabled.
Definition:
class.ilLoggingSetupSettings.php:47
ilLoggingSetupSettings\getLevel
getLevel()
Get log Level.
Definition:
class.ilLoggingSetupSettings.php:66
ilLoggingSetupSettings\getLogFile
getLogFile()
Definition:
class.ilLoggingSetupSettings.php:57
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilLoggingSetupSettings\isCacheEnabled
isCacheEnabled()
Definition:
class.ilLoggingSetupSettings.php:85
ilLoggingSetupSettings\isMemoryUsageEnabled
isMemoryUsageEnabled()
Definition:
class.ilLoggingSetupSettings.php:90
components
ILIAS
Logging
classes
class.ilLoggingSetupSettings.php
Generated on Sun Apr 6 2025 23:03:36 for ILIAS by
1.8.13 (using
Doxyfile
)