replace NSLog by ms_notice

This commit is contained in:
Jehan Monnier 2010-03-01 17:05:29 +01:00
parent d6ab992189
commit ded1415f54
3 changed files with 8 additions and 8 deletions

View file

@ -78,7 +78,7 @@
addObserver:self selector:@selector(proximityStatusChange:) name:@"UIDeviceProximityStateDidChangeNotification" object:device];
}
else{
NSLog(@"No proximity sensors on your device");
ms_message(@"No proximity sensors on your device");
}
}
@ -270,7 +270,7 @@
} else if (sender == speaker) {
[self speaker:!isSpeaker];
}else {
NSLog(@"unknown event from incall view");
ms_message(@"unknown event from incall view");
}
}

View file

@ -182,7 +182,7 @@
displayName=@"";
}
} else {
NSLog(@"unknown event from diad pad");
ms_message(@"unknown event from diad pad");
return;
}
if (newAddress != nil) {
@ -205,7 +205,7 @@
object:nil];
}else {
NSLog(@"unknown up event from dial pad");
ms_message(@"unknown up event from dial pad");
}
}

View file

@ -239,13 +239,13 @@ LinphoneCoreVTable linphone_iphone_vtable = {
Boolean status = CFWriteStreamOpen (writeStream);
const char* buff="yop";
int written = CFWriteStreamWrite (writeStream,(const UInt8*)buff,strlen(buff));
NSLog(@"activating network interface status [%i], [%i] byte sent",status,written);
ms_message(@"activating network interface status [%i], [%i] byte sent",status,written);
CFWriteStreamClose (writeStream);
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
if (isStarted) {
NSLog(@"becomming active, make sure we are registered");
ms_message(@"becomming active, make sure we are registered");
[self doRegister];
} else {
isStarted=true;
@ -570,10 +570,10 @@ bool networkReachabilityCallBack(SCNetworkReachabilityRef target, SCNetworkReach
void tunnel_state_cb(bool connected, void *data) {
id <LinphoneManagerDelegate> linphoneApp = (id <LinphoneManagerDelegate>)data;
if ([linphoneApp isTunnel] && connected) {
NSLog(@"Tunnel connected");
ms_message(@"Tunnel connected");
[linphoneApp doRegister];
} else if ([linphoneApp isTunnel] && !connected) {
NSLog(@"Tunnel connection failure detected");
ms_message(@"Tunnel connection failure detected");
LinphoneProxyConfig* proxyCfg;
linphone_core_get_default_proxy([linphoneApp getLinphoneCore],&proxyCfg);
linphone_proxy_config_edit(proxyCfg);