ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilLineFormatter Class Reference

Custom line formatter. More...

+ Inheritance diagram for ilLineFormatter:
+ Collaboration diagram for ilLineFormatter:

Public Member Functions

 format (array $record)
 

Detailed Description

Custom line formatter.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e

Definition at line 29 of file class.ilLineFormatter.php.

Member Function Documentation

◆ format()

ilLineFormatter::format ( array  $record)

Definition at line 34 of file class.ilLineFormatter.php.

34  : 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  }

The documentation for this class was generated from the following file: