mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	applets: Migrate logging macros
This commit is contained in:
		
							parent
							
								
									4c67f1c7c6
								
							
						
					
					
						commit
						958d39a76f
					
				
					 5 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -62,7 +62,7 @@ ResultCode Applet::Create(Service::APT::AppletId id,
 | 
			
		|||
        applets[id] = std::make_shared<Mint>(id, std::move(manager));
 | 
			
		||||
        break;
 | 
			
		||||
    default:
 | 
			
		||||
        LOG_ERROR(Service_APT, "Could not create applet %u", static_cast<u32>(id));
 | 
			
		||||
        NGLOG_ERROR(Service_APT, "Could not create applet {}", static_cast<u32>(id));
 | 
			
		||||
        // TODO(Subv): Find the right error code
 | 
			
		||||
        return ResultCode(ErrorDescription::NotFound, ErrorModule::Applet,
 | 
			
		||||
                          ErrorSummary::NotSupported, ErrorLevel::Permanent);
 | 
			
		||||
| 
						 | 
				
			
			@ -114,7 +114,7 @@ void Applet::SendParameter(const Service::APT::MessageParameter& parameter) {
 | 
			
		|||
    if (auto locked = manager.lock()) {
 | 
			
		||||
        locked->CancelAndSendParameter(parameter);
 | 
			
		||||
    } else {
 | 
			
		||||
        LOG_ERROR(Service_APT, "called after destructing applet manager");
 | 
			
		||||
        NGLOG_ERROR(Service_APT, "called after destructing applet manager");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue