Slim-Extras
Slim-Extras copied to clipboard
More settings/placeholder for DateTimeFileLogger
You can use date_message_format to set the format of the date when it writes in the log.
Now it supports all the log levels.
Now all the request parameters are available in the message format:
- %root_uri%: Replaced with the root URI of the request.
- %resurce_uri%: Replaced with the resource URI of the request.
- %content_type%: Replaced with the content type of the request.
- %media_type%: Replaced with the media type of the request.
- %content_charset%: Replaced with the content charset of the request.
- %content_length%: Replaced with the content length of the request.
- %host%: Replaced with the host of the request.
- %host_with_port%: Replaced with the host with the port of the request.
- %port%: Replaced with the port of the request.
- %scheme%: Replaced with the scheme of the request.
- %path%: Replaced with the path of the request.
- %url%: Replaced with the url of the request.
- %ip_address%: Replaced with the ip address of the request.
- %referer%: Replaced with the referer of the request.
- %user_agent%: Replaced with the user agent of the request.