ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
◀ 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
{
21
$record[
"message"
] = $record[
"extra"
][
"trace"
].
" "
.$record[
"message"
];
22
$record[
"extra"
] = array();
23
}
24
25
return
parent::format($record);
26
}
27
28
}
29
30
?>
ilLineFormatter\format
format(array $record)
{Formats a log record.A record to format mixed The formatted record}
Definition:
class.ilLineFormatter.php:17
ilLineFormatter
Custom line formatter.
Definition:
class.ilLineFormatter.php:12
Monolog\Formatter\LineFormatter
Formats incoming records into a one-line string.
Definition:
LineFormatter.php:24
Services
Logging
classes
extensions
class.ilLineFormatter.php
Generated on Wed Aug 27 2025 19:00:55 for ILIAS by
1.8.13 (using
Doxyfile
)