for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author jan huang <[email protected]>
* @copyright 2016
*
* @see https://www.github.com/janhuang
* @see https://fastdlabs.com
*/
namespace FastD\Logger;
* Class AccessHandler.
class AccessHandler extends HandlerAbstract
{
* @return array
protected function logContextFormat()
return [
'ip' => get_local_ip(),
'status' => response()->getStatusCode(),
'get' => request()->getQueryParams(),
'post' => request()->getParsedBody(),
];
}