$_instance
$_instance :
Array to hold instances of all derived classes.
Abstract logging format descriptor class.
getInstance(array|mixed|null $inject = null) : \phpWTL\$_instance[$class]
Create new instance or give back already existing one.
array|mixed|null | $inject | Can be used to inject one or more parameter(s) into the constructor |
The instance of a derived class
setFieldAttribute(string $field_name, string $attribute_name, string $value)
string | $field_name | ID of log format field. |
string | $attribute_name | Name of the DescriptorField attribute ("name", because it serves as an ID, is immutable). |
string | $value | Value to assign the DescriptorField attribute for the desired field ID. |