Commit 49866022 authored by Liu lu's avatar Liu lu

日志优化

parent a5ee47bf
......@@ -46,8 +46,8 @@ class LogTraceAspect extends AbstractAspect
register_shutdown_function(function ()use($requestId,$originParams,$proceedingJoinPoint) {
put_log(json_encode([
'request_id'=>$requestId,'error_msg'=>error_get_last()
],$originParams),
'request_id'=>$requestId,'error_msg'=>error_get_last(),'params'=>$originParams
]),
str_replace('\\','_',$proceedingJoinPoint->className).
'/'.$proceedingJoinPoint->methodName.'/'.date('Ymd').'.txt'
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment