Refactored DependencyFactory for Profiler
This commit is contained in:
		
					parent
					
						
							
								cdcf1667d7
							
						
					
				
			
			
				commit
				
					
						5e5c39b0e1
					
				
			
		
					 12 changed files with 65 additions and 47 deletions
				
			
		| 
						 | 
				
			
			@ -326,7 +326,7 @@ function api_call(App $a)
 | 
			
		|||
 | 
			
		||||
				Logger::info(API_LOG_PREFIX . 'username {username}', ['module' => 'api', 'action' => 'call', 'username' => $a->user['username'], 'duration' => round($duration, 2)]);
 | 
			
		||||
 | 
			
		||||
				$a->getProfiler()->saveLog(API_LOG_PREFIX . 'performance');
 | 
			
		||||
				$a->getProfiler()->saveLog($a->getLogger(), API_LOG_PREFIX . 'performance');
 | 
			
		||||
 | 
			
		||||
				if (false === $return) {
 | 
			
		||||
					/*
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue