ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilLineFormatter.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
6
7
use
Monolog\Formatter\LineFormatter
as
LineFormatter
;
8
15
class
ilLineFormatter
extends
LineFormatter
16
{
20
public
function
format
(array $record): string
21
{
22
if
(isset($record[
"extra"
][
"trace"
])) {
23
$record[
"message"
] = $record[
"extra"
][
"trace"
] .
" "
. $record[
"message"
];
24
$record[
"extra"
] = array();
25
}
26
return
parent::format($record);
27
}
28
}
LineFormatter
ilLineFormatter\format
format(array $record)
Definition:
class.ilLineFormatter.php:20
ilLineFormatter
Custom line formatter.
Definition:
class.ilLineFormatter.php:15
Services
Logging
classes
extensions
class.ilLineFormatter.php
Generated on Sun Aug 31 2025 22:02:23 for ILIAS by
1.8.13 (using
Doxyfile
)