SIMPLE_DATE
SIMPLE_DATE = "Y-m-d\\TH:i:sP"
Serializes a log message to Logstash Event Format
$dateFormat : string
$maxNormalizeDepth : int
$maxNormalizeItemCount : int
$systemName : string
$applicationName : string
$extraKey : string
$contextKey : string
$jsonEncodeOptions : int
__construct(string $applicationName, string|null $systemName = null, string $extraKey = 'extra', string $contextKey = 'context') : mixed
string | $applicationName | The application that sends the data, used as the "type" field of logstash |
string|null | $systemName | The system/machine name, used as the "source" field of logstash, defaults to the hostname of the machine |
string | $extraKey | The key for extra keys inside logstash "fields", defaults to extra |
string | $contextKey | The key for context keys inside logstash "fields", defaults to context |