ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilLineFormatter.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilLineFormatter
extends
\Monolog\Formatter\LineFormatter
13
{
17
public
function
format
(array $record)
18
{
19
if
(isset($record[
"extra"
][
"trace"
])) {
20
$record[
"message"
] = $record[
"extra"
][
"trace"
] .
" "
. $record[
"message"
];
21
$record[
"extra"
] = array();
22
}
23
24
return
parent::format($record);
25
}
26
}
php
An exception for terminatinating execution or to throw for unit testing.
Monolog\Formatter\LineFormatter
Formats incoming records into a one-line string.
Definition:
LineFormatter.php:23
ilLineFormatter
Custom line formatter.
Definition:
class.ilLineFormatter.php:13
ilLineFormatter\format
format(array $record)
{{{Formats a log record.mixed The formatted record}}}
Definition:
class.ilLineFormatter.php:17
Services
Logging
classes
extensions
class.ilLineFormatter.php
Generated on Sat Oct 4 2025 19:01:19 for ILIAS by
1.9.4 (using
Doxyfile
)