$retrievalPolicies
$retrievalPolicies :
Logger for the combined log format, which is NCSA common plus two additional fields (see: https://httpd.apache.org/docs/1.3/logs.html#combined).
A logger in its basic form typically handles the following tasks:
- Instantiate a LoggerContent object and provide it with a format blueprint in form of a static FormatDescriptor class
- Initialize a DataRetriever and provide it with a LoggerContent object (and if applicable with RetrievalPolicies)
- Initialize a DataValidator and provide it with a LoggerContent object
- Initialize a DataFormatter and provide it with a LoggerContent object
- Provide a method to perform the actual logging (i.e. invoke retriever, validator and formatter accordingly)
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
__construct(object $retrievalPolicies = null)
The constructor must perform the following taks:
object | $retrievalPolicies | Provide policies for data retrieval (if applicable). |