ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
class.ilLineFormatter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
Monolog\Formatter\LineFormatter
as
LineFormatter
;
22
29
class
ilLineFormatter
extends
LineFormatter
30
{
34
public
function
format
(array $record): string
35
{
36
if
(isset($record[
"extra"
][
"trace"
])) {
37
$record[
"message"
] = $record[
"extra"
][
"trace"
] .
" "
. $record[
"message"
];
38
$record[
"extra"
] = array();
39
}
40
41
$record[
'context'
] = [];
42
43
return
parent::format($record);
44
}
45
}
LineFormatter
ilLineFormatter\format
format(array $record)
Definition:
class.ilLineFormatter.php:34
ilLineFormatter
Custom line formatter.
Definition:
class.ilLineFormatter.php:29
components
ILIAS
Logging
classes
extensions
class.ilLineFormatter.php
Generated on Wed Sep 10 2025 15:15:54 for ILIAS by
1.8.13 (using
Doxyfile
)