mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-03 20:24:43 +01:00 
			
		
		
		
	Merge pull request #8474 from DCNick3/yuzu-cmd-respect-log-filter
Make yuzu-cmd respect log_filter setting
This commit is contained in:
		
						commit
						945f3222ae
					
				@ -138,6 +138,12 @@ int main(int argc, char** argv) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    Config config{config_path};
 | 
					    Config config{config_path};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    // apply the log_filter setting
 | 
				
			||||||
 | 
					    // the logger was initialized before and doesn't pick up the filter on its own
 | 
				
			||||||
 | 
					    Common::Log::Filter filter;
 | 
				
			||||||
 | 
					    filter.ParseFilterString(Settings::values.log_filter.GetValue());
 | 
				
			||||||
 | 
					    Common::Log::SetGlobalFilter(filter);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!program_args.empty()) {
 | 
					    if (!program_args.empty()) {
 | 
				
			||||||
        Settings::values.program_args = program_args;
 | 
					        Settings::values.program_args = program_args;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user