ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Format a log message into an Elastica Document. More...
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.
| ||||
detectAndCleanUtf8 (&$data) | ||||
Detect invalid UTF-8 string characters and convert to valid UTF-8. 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 ($e) | |
toJson ($data, $ignoreErrors=false) | |
Return the JSON representation of a value. More... | |
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 |
Implements Monolog\Formatter\FormatterInterface.
Definition at line 49 of file ElasticaFormatter.php.
References format, and Monolog\Formatter\ElasticaFormatter\getDocument().
|
protected |
Convert a log message into an Elastica Document.
array | $record | Log message |
Definition at line 80 of file ElasticaFormatter.php.
Referenced by Monolog\Formatter\ElasticaFormatter\format().
Monolog\Formatter\ElasticaFormatter::getIndex | ( | ) |
Getter index.
Definition at line 60 of file ElasticaFormatter.php.
References Monolog\Formatter\ElasticaFormatter\$index.
Monolog\Formatter\ElasticaFormatter::getType | ( | ) |
Getter type.
Definition at line 69 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().