|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Format a log message into an Elastica Document. More...
Inheritance diagram for Monolog\Formatter\ElasticaFormatter:
Collaboration diagram for Monolog\Formatter\ElasticaFormatter:Public Member Functions | ||||
| __construct ($index, $type) | ||||
| format (array $record) | ||||
{{Formats a log record.
| ||||
| getIndex () | ||||
| Getter index. More... | ||||
| getType () | ||||
| Getter type. More... | ||||
Public Member Functions inherited from Monolog\Formatter\NormalizerFormatter | ||||
| __construct ($dateFormat=null) | ||||
| format (array $record) | ||||
{Formats a log record.
| ||||
| formatBatch (array $records) | ||||
{Formats a set of log records.
| ||||
| format (array $record) | ||||
| Formats a log record. More... | ||||
| formatBatch (array $records) | ||||
| Formats a set of log records. More... | ||||
Protected Member Functions | |
| getDocument ($record) | |
| Convert a log message into an Elastica Document. More... | |
Protected Member Functions inherited from Monolog\Formatter\NormalizerFormatter | |
| normalize ($data) | |
| normalizeException (Exception $e) | |
| toJson ($data, $ignoreErrors=false) | |
Protected Attributes | |
| $index | |
| $type | |
Protected Attributes inherited from Monolog\Formatter\NormalizerFormatter | |
| $dateFormat | |
Additional Inherited Members | |
Data Fields inherited from Monolog\Formatter\NormalizerFormatter | |
| const | SIMPLE_DATE = "Y-m-d H:i:s" |
Format a log message into an Elastica Document.
Definition at line 21 of file ElasticaFormatter.php.
| Monolog\Formatter\ElasticaFormatter::__construct | ( | $index, | |
| $type | |||
| ) |
| string | $index | Elastic Search index name |
| string | $type | Elastic Search document type |
Definition at line 37 of file ElasticaFormatter.php.
References Monolog\Formatter\ElasticaFormatter\$index, and Monolog\Formatter\ElasticaFormatter\$type.
| Monolog\Formatter\ElasticaFormatter::format | ( | array | $record | ) |
{{Formats a log record.
| array | $record | A record to format |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 47 of file ElasticaFormatter.php.
References Monolog\Formatter\ElasticaFormatter\getDocument().
Here is the call graph for this function:
|
protected |
Convert a log message into an Elastica Document.
| array | $record | Log message |
Definition at line 78 of file ElasticaFormatter.php.
Referenced by Monolog\Formatter\ElasticaFormatter\format().
Here is the caller graph for this function:| Monolog\Formatter\ElasticaFormatter::getIndex | ( | ) |
Getter index.
Definition at line 58 of file ElasticaFormatter.php.
References Monolog\Formatter\ElasticaFormatter\$index.
| Monolog\Formatter\ElasticaFormatter::getType | ( | ) |
Getter type.
Definition at line 67 of file ElasticaFormatter.php.
References Monolog\Formatter\ElasticaFormatter\$type.
|
protected |
Definition at line 26 of file ElasticaFormatter.php.
Referenced by Monolog\Formatter\ElasticaFormatter\__construct(), and Monolog\Formatter\ElasticaFormatter\getIndex().
|
protected |
Definition at line 31 of file ElasticaFormatter.php.
Referenced by Monolog\Formatter\ElasticaFormatter\__construct(), and Monolog\Formatter\ElasticaFormatter\getType().