App Logging Service

This module enables centralize logging for your App. Log service allows different levels to log a message e.g. info, debug, fatal, error etc. You can fetch logs based on different parameters such as module, level, message, date range etc.

Import Statement

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
import com.shephertz.app42.paas.sdk.android.App42API;
import com.shephertz.app42.paas.sdk.android.App42Response;
import com.shephertz.app42.paas.sdk.android.App42Exception;
import com.shephertz.app42.paas.sdk.android.App42BadParameterException;
import com.shephertz.app42.paas.sdk.android.App42NotFoundException;
import com.shephertz.app42.paas.sdk.android.log.Log;
import com.shephertz.app42.paas.sdk.android.log.LogService;
using com.shephertz.app42.paas.sdk.windows;  
using com.shephertz.app42.paas.sdk.windows.log;   
#import "Shephertz_App42_iOS_API/Shephertz_App42_iOS_API.h"   
import com.shephertz.app42.paas.sdk.jme.App42API;
import com.shephertz.app42.paas.sdk.jme.App42Response;
import com.shephertz.app42.paas.sdk.jme.App42Exception;
import com.shephertz.app42.paas.sdk.jme.App42BadParameterException;
import com.shephertz.app42.paas.sdk.jme.App42NotFoundException;
import com.shephertz.app42.paas.sdk.jme.log.Log;
import com.shephertz.app42.paas.sdk.jme.log.LogService;
import com.shephertz.app42.paas.sdk.java.App42API;
import com.shephertz.app42.paas.sdk.java.App42Response;
import com.shephertz.app42.paas.sdk.java.App42Exception;
import com.shephertz.app42.paas.sdk.java.App42BadParameterException;
import com.shephertz.app42.paas.sdk.java.App42NotFoundException;
import com.shephertz.app42.paas.sdk.java.log.Log;
import com.shephertz.app42.paas.sdk.java.log.LogService;
using com.shephertz.app42.paas.sdk.csharp;  
using com.shephertz.app42.paas.sdk.csharp.log;
<script type="text/javascript" src="App42-all-x.x.x.min.js">
Coming Soon
Coming Soon
using com.shephertz.app42.paas.sdk.csharp;  
using com.shephertz.app42.paas.sdk.csharp.log;  
include_once '../App42Response.php';  
include_once '../App42Exception.php';  
include_once '../App42BadParameterException.php';  
include_once '../App42NotFoundException.php';
include_once '../App42Log.php';  
include_once '../LogService.php';   
Coming Soon
Coming Soon
import com.shephertz.app42.paas.sdk.as3.App42API;
import com.shephertz.app42.paas.sdk.as3.App42Response;
import com.shephertz.app42.paas.sdk.as3.App42Exception;
import com.shephertz.app42.paas.sdk.as3.App42BadParameterException;
import com.shephertz.app42.paas.sdk.as3.App42NotFoundException;
import com.shephertz.app42.paas.sdk.as3.log.Log;
import com.shephertz.app42.paas.sdk.as3.log.LogService;
import com.shephertz.app42.paas.sdk.as3.log.Message;
Coming Soon

Initialize

In order to use various the functions available in a specific API, a developer has to initialize with App42API by passing the apiKey and secretKey which will be created after the app creation from AppHQ dashboard.

Required Parameters

apiKey - The Application key given when the application was created. secretKey - The secret key corresponding to the application key given when the application was created.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
App42API.initialize("ANDROID_APPLICATION_CONTEXT","API_KEY","SECRET_KEY");
App42API.Initialize("API_KEY","SECRET_KEY");
[App42API initializeWithAPIKey:@"APP_KEY" andSecretKey:@"SECRET_KEY"]; 
App42API.initialize("API_KEY","SECRET_KEY");
App42API.initialize("API_KEY","SECRET_KEY");
App42API.Initialize("API_KEY","SECRET_KEY");
App42.initialize("API_KEY","SECRET_KEY");
Coming Soon
Coming Soon
App42API.Initialize("API_KEY","SECRET_KEY");
App42API::initialize("API_KEY","SECRET_KEY");
Coming Soon
Coming Soon 
App42API.initialize("API_KEY","SECRET_KEY");
Coming Soon

Build Service

After initialization, developer needs to call the buildXXXService method on App42API to get the instance of the particular API that you wish to build. For example, To build an instance of LogService, buildLogService() method needs to be called.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
LogService logService = App42API.buildLogService(); 
LogService logService = App42API.BuildLogService();  
LogService *logService = [App42API buildLogService]; 
LogService logService = App42API.buildLogService(); 
LogService logService = App42API.buildLogService(); 
LogService logService = App42API.BuildLogService(); 
var logService  = new App42Log();
Coming Soon
Coming Soon
LogService logService = App42API.BuildLogService(); 
$logService = App42API::buildLogService();
Coming Soon
Coming Soon
var logService:LogService = App42API.buildLogService();
Coming Soon

Info

Logs the info message.

Required Parameters

message - The message to be logged. moduleName - A module name for which the message is getting logged.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String message = "message";
String moduleName = "moduleName";	
logService.info(message, moduleName, new App42CallBack() {			
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}      
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());
}
});   
String message = "message";
String moduleName = "moduleName";	
logService.Info(message,moduleName,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
NSString *message = @"message";
NSString *moduleName = @"moduleName";	
Log *log = [logService info:message module:moduleName]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String message = "message";
String moduleName = "moduleName";	
Log log = logService.info(message,moduleName);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";	
Log log = logService.info(message,moduleName);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}      
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";
App42Log.SetDebug(true);		//Print output in your editor console	
logService.Info(message,moduleName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}
	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String message = "message";
String moduleName = "moduleName";	
Log log = logService.Info(message,moduleName);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$message = "message";
$moduleName = "moduleName";	
$log = $logService->info($message,$moduleName); 
$message = $log->getMessageList();
foreach ($message as $messageList) 
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var message:String = "message";  
var moduleName:String = "moduleName";   
logService.info(message , moduleName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Debug

Logs the debug message.

Required Parameters

message - The message to be logged. moduleName - A module name for which the message is getting logged.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String message = "message";
String moduleName = "moduleName";	
logService.debug(message, moduleName, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}   
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());
}
});   
String message = "message";
String moduleName = "moduleName";	
logService.Debug(message,moduleName,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
NSString *message = @"message";
NSString *moduleName = @"moduleName";	
Log *log = [logService debug:message module:moduleName]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String message = "message";
String moduleName = "moduleName";	
Log log = logService.debug(message,moduleName);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";	
Log log = logService.debug(message,moduleName);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}   
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";
App42Log.SetDebug(true);		//Print output in your editor console	
logService.Debug(message,moduleName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
	App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String message = "message";
String moduleName = "moduleName";	
Log log = logService.Debug(message,moduleName);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$message = "message";
$moduleName = "moduleName";	
$log = $logService->debug($message,$moduleName); 
$message = $log->getMessageList();
foreach ($message as $messageList) 
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var message:String = "message";  
var moduleName:String = "moduleName";
logService.debug(message , moduleName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
} 
Coming Soon 

Error

Logs the error message.

Required Parameters

message - The message to be logged. moduleName - A module name for which the message is getting logged.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String message = "message";
String moduleName = "moduleName";	
logService.error(message, moduleName, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	System.out.println(response);
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}      	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());
}
});   
String message = "message";
String moduleName = "moduleName";	
logService.Error(message,moduleName,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
NSString *message = @"message";
NSString *moduleName = @"moduleName";	
Log *log = [logService error:message module:moduleName]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String message = "message";
String moduleName = "moduleName";	
Log log = logService.error(message,moduleName);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";	
Log log = logService.error(message,moduleName);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}      
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";
App42Log.SetDebug(true);		//Print output in your editor console	
logService.Error(message,moduleName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String message = "message";
String moduleName = "moduleName";	
Log log = logService.Error(message,moduleName);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$message = "message";
$moduleName = "moduleName";	
$log = $logService->error($message,$moduleName); 
$message = $log->getMessageList();
foreach ($message as $messageList) 
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var message:String = "message";  
var moduleName:String = "moduleName";	
logService.error(message , moduleName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fatal

Logs the fatal message.

Required Parameters

message - Message to be logged. moduleName - Module name for which the message is getting logged.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String message = "message";
String moduleName = "moduleName";	
logService.fatal(message, moduleName, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}      	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
String message = "message";
String moduleName = "moduleName";	
logService.Fatal(message, moduleName, new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
NSString *message = @"message";
NSString *moduleName = @"moduleName";	
Log *log = [logService fatal:message module:moduleName]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String message = "message";
String moduleName = "moduleName";	
Log log = logService.fatal(message,moduleName);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";	
Log log = logService.fatal(message,moduleName);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}    
String jsonResponse = log.toString();    
String message = "message";
String moduleName = "moduleName";
App42Log.SetDebug(true);		//Print output in your editor console	
logService.Fatal(message,moduleName new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String message = "message";
String moduleName = "moduleName";	
Log log = logService.Fatal(message,moduleName);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$message = "message";
$moduleName = "moduleName";	
$log = $logService->fatal($message,$moduleName); 
$message = $log->getMessageList();
foreach ($message as $messageList) 
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var message:String = "message";  
var moduleName:String = "moduleName";
logService.fatal(message , moduleName,new callback());	
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Module

Fetch the log messages based on the Module.

Required Parameters

moduleName - Module name for which the messages have to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName = "moduleName";	
logService.fetchLogsByModule(moduleName, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	} 	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
String moduleName = "moduleName";	
logService.FetchLogsByModule(moduleName,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
NSString *moduleName = @"moduleName";	
Log *log = [logService fetchLogsByModule:moduleName]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String moduleName = "moduleName";
Log log = logService.fetchLogsByModule(moduleName);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String moduleName = "moduleName";
Log log = logService.fetchLogsByModule(moduleName);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
} 	
String jsonResponse = log.toString();    
String moduleName = "moduleName";
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsByModule(moduleName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String moduleName = "moduleName";
Log log = logService.FetchLogsByModule(moduleName);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$moduleName = "moduleName";	
$log = $logService->fetchLogsByModule($moduleName); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var moduleName:String = "moduleName";
logService.fetchLogsByModule(moduleName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
} 
Coming Soon 

Fetch Logs Count By Module

Fetch the count of log messages based on the Module.

Required Parameters

moduleName - Module name for which the count of messages has to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName = "moduleName";
logService.fetchLogsCountByModule(moduleName, new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords());	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
String moduleName = "moduleName";
logService.FetchLogsCountByModule(moduleName,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
NSString *moduleName = @"moduleName";
App42Response *response = [logService fetchLogsCountByModule:moduleName]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
String moduleName = "moduleName";
App42Response response = logService.fetchLogsCountByModule(moduleName); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
String moduleName = "moduleName";
App42Response app42response = logService.fetchLogsCountByModule(moduleName); 
System.out.println("Total Records : " + app42response.getTotalRecords());
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
String moduleName = "moduleName";
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsCountByModule(moduleName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
String moduleName = "moduleName";
App42Response response = logService.FetchLogsCountByModule(moduleName); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$moduleName = "moduleName";
$response = $logService->fetchLogsCountByModule($moduleName); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
var moduleName:String = "moduleName";
logService.fetchLogsCountByModule(moduleName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
} 
Coming Soon 

Fetch Logs By Module By Paging

Fetch the log messages based on the Module by paging.

Required Parameters

moduleName - Module name for which the messages have to be fetched. max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName = "moduleName";
int max = 1;
int offset = 0;  	
logService.fetchLogsByModule(moduleName, max, offset, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
String moduleName = "moduleName";	
int max = 1;
int offset = 0;  	
logService.FetchLogsByModule(moduleName,max,offset,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString(); 
	}  
} 
NSString *moduleName = @"moduleName";	
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogsByModule:moduleName max:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String moduleName = "moduleName";
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogsByModule(moduleName,max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String moduleName = "moduleName";
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogsByModule(moduleName,max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
String moduleName = "moduleName";
int max = 1;
int offset = 0;  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByModule(moduleName, max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String moduleName = "moduleName";
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogsByModule(moduleName,max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$moduleName = "moduleName";	
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogsByModule($moduleName,$max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var moduleName:String = "moduleName";
var max:int = 1;
var offset:int = 0;  
logService.fetchLogsByModuleByPaging(moduleName,max,offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Module And Text

Fetch log messages based on the Module and Message Text.

Required Parameters

moduleName - Module name for which the messages have to be fetched. text - The log message on which logs have to be searched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName = "moduleName";	
String text = "text";	
logService.fetchLogsByModuleAndText(moduleName, text, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
String moduleName = "moduleName";	
String text = "text";		
logService.FetchLogsByModuleAndText(moduleName,text,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();       
	}  
} 
NSString *moduleName = @"moduleName";		
NSString *text = @"text";	
Log *log = [logService fetchLogsByModuleAndText:moduleName text:text]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String moduleName = "moduleName";	
String text = "text";	
Log log = logService.fetchLogsByModuleAndText(moduleName, text);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String moduleName = "moduleName";	
String text = "text";	
Log log = logService.fetchLogsByModuleAndText(moduleName, text);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
String moduleName = "moduleName";	
String text = "text";
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByModuleAndText(moduleName, text, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}
	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String moduleName = "moduleName";	
String text = "text";	
Log log = logService.FetchLogsByModuleAndText(moduleName,text);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$moduleName = "moduleName";		
$text = "text";	
$log = $logService->fetchLogsByModuleAndText($moduleName,$text); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var moduleName:String = "moduleName";  
var text:String = "text"
logService.fetchLogsByModuleAndText(moduleName, text,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs Count By Module And Text

Fetch count of log messages based on the Module and Message Text

Required Parameters

moduleName - Module name for which the count of messages has to be fetched. text - log message on which count of logs have to be searched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName = "moduleName";
String text = "text";
logService.fetchLogsCountByModuleAndText(moduleName, text,	new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords()) ;
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
String moduleName = "moduleName";
String text = "text";
logService.FetchLogsCountByModuleAndText(moduleName,text,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
NSString *moduleName = @"moduleName";		
NSString *text = @"text";	
App42Response *response = [logService fetchLogsCountByModuleAndText:moduleName text:text]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
String moduleName = "moduleName";
String text = "text";
App42Response response = logService.fetchLogsCountByModuleAndText(moduleName,text); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
String moduleName = "moduleName";
String text = "text";
App42Response app42response = logService.fetchLogsCountByModuleAndText(moduleName,text); 
System.out.println("Total Records : " + app42response.getTotalRecords()) ;
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
String moduleName = "moduleName";
String text = "text";
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsCountByModuleAndText(moduleName,text, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
String moduleName = "moduleName";
String text = "text";
App42Response response = logService.FetchLogsCountByModuleAndText(moduleName,text); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$moduleName = "moduleName";	
$text = "text";	
$response = $logService->fetchLogsCountByModuleAndText($moduleName,$text); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
var moduleName:String = "moduleName";  
var text:String = "text"
logService.fetchLogsCountByModuleAndText(moduleName, text,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Module And Text By Paging

Fetch log messages based on the Module and Message Text by paging.

Required Parameters

moduleName - Module name for which the messages have to be fetched. text - The log message on which logs have to be searched. max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName = "moduleName";
String text = "text";	
int max = 1;
int offset = 0;  	
logService.fetchLogsByModuleAndText(moduleName, text, max, offset,new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex)
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
String moduleName = "moduleName";	
String text = "text";	
int max = 1;
int offset = 0;  	
logService.FetchLogsByModuleAndText(moduleName,text,max,offset,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();     
	}  
} 
NSString *moduleName = @"moduleName";
NSString *text = @"text";		
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogsByModuleAndText:moduleName text:text max:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
String moduleName = "moduleName";
String text = "text";	
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogsByModuleAndText(moduleName,text,max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
String moduleName = "moduleName";
String text = "text";	
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogsByModuleAndText(moduleName,text,max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
String moduleName = "moduleName";
String text = "text";	
int max = 1;
int offset = 0;  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByModuleAndText(moduleName, text, max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
String moduleName = "moduleName";
String text = "text";	
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogsByModuleAndText(moduleName,text,max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$moduleName = "moduleName";	
$text = "text";	
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogsByModuleAndText($moduleName,$text,$max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var moduleName:String = "moduleName";  
var text:String = "text"
var max:int = 1;  
var offset:int = 0;    
logService.fetchLogsByModuleAndTextByPaging(moduleName, text, max, offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Info

Fetch log messages based on Info Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsByInfo(new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
logService.FetchLogsByInfo(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
Log *log = [logService fetchLogsByInfo]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Log log = logService.fetchLogsByInfo();   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
Log log = logService.fetchLogsByInfo();  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsByInfo(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
Log log = logService.FetchLogsByInfo();   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$log = $logService->fetchLogsByInfo(); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsByInfo(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs Count By Info

Fetch count of log messages based on Info Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsCountByInfo(new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords()) ;	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
}); 
logService.FetchLogsCountByInfo(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
App42Response *response = [logService fetchLogsCountByInfo]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
App42Response response = logService.fetchLogsCountByInfo(); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
App42Response app42response = logService.fetchLogsCountByInfo(); 
System.out.println("Total Records : " + app42response.getTotalRecords()) ;	
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsCountByInfo(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
App42Response response = logService.FetchLogsCountByInfo(); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$response = $logService->fetchLogsCountByInfo(); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsCountByInfo(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Info By Paging

Fetch log messages based on Info Level by paging.

Required Parameters

max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
int max = 1;
int offset = 0;  	
logService.fetchLogsByInfo(max, offset, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
int max = 1;
int offset = 0;  	
logService.FetchLogsByInfo(max,offset,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogsByInfo:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogsByInfo(max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogsByInfo(max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByInfo(max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogsByInfo(max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogsByInfo($max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var max:int = 1;  
var offset:int = 0;  
logService.fetchLogsByInfoByPaging( max,offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Debug

Fetch log messages based on Debug Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsByDebug(new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});    
logService.FetchLogsByDebug(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
Log *log = [logService fetchLogsByDebug]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Log log = logService.fetchLogsByDebug();   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
Log log = logService.fetchLogsByDebug();  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsByDebug(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
Log log = logService.FetchLogsByDebug();   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$log = $logService->fetchLogsByDebug(); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsByDebug(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs Count By Debug

Fetch count of log messages based on Debug Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsCountByDebug(new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords()) ;	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
logService.FetchLogsCountByDebug(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
App42Response *response = [logService fetchLogsCountByDebug]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
App42Response response = logService.fetchLogsCountByDebug(); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
App42Response app42response = logService.fetchLogsCountByDebug(); 
System.out.println("Total Records : " + app42response.getTotalRecords()) ;	
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsCountByDebug(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
App42Response response = logService.FetchLogsCountByDebug(); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$response = $logService->fetchLogsCountByDebug(); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsCountByDebug(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Debug By Paging

Fetch log messages based on Debug Level by paging.

Required Parameters

max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
int max = 1;
int offset = 0;  	
logService.fetchLogsByDebug(max, offset, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
int max = 1;
int offset = 0;  	
logService.FetchLogsByDebug(max,offset,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogsByDebug:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogsByDebug(max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogsByDebug(max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByDebug(max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}
	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogsByDebug(max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogsByDebug($max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var max:int = 1;  
var offset:int = 0; 
logService.fetchLogsByDebugByPaging(max,offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
} 
Coming Soon 

Fetch Logs By Error

Fetch log messages based on Error Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsByError(new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});  
logService.FetchLogsByError(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();        
	}  
} 
Log *log = [logService fetchLogsByError]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Log log = logService.fetchLogsByError();   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
Log log = logService.fetchLogsByError();  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsByError( new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
Log log = logService.FetchLogsByError();   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$log = $logService->fetchLogsByError(); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsByError(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs Count By Error

Fetch count of log messages based on Error Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsCountByError(new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords()) ;		
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
logService.FetchLogsCountByError(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
App42Response *response = [logService fetchLogsCountByError]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
App42Response response = logService.fetchLogsCountByError(); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
App42Response app42response = logService.fetchLogsCountByError(); 
System.out.println("Total Records : " + app42response.getTotalRecords()) ;	
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsCountByError(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
App42Response response = logService.FetchLogsCountByError(); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$response = $logService->fetchLogsCountByError(); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsCountByError(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Error By Paging

Fetch log messages based on Error Level by paging.

Required Parameters

max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
int max = 1;
int offset = 0;  	
logService.fetchLogsByError(max, offset, new App42CallBack() {
public void onSuccess(Object response)
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}	
}
public void onException(Exception ex)
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});    
int max = 1;
int offset = 0;  	
logService.FetchLogsByError(max,offset,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();       
	}  
} 
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogsByError:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogsByError(max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogsByError(max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}	
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByError(max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}
	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogsByError(max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogsByError($max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var max:int = 1;  
var offset:int = 0; 
logService.fetchLogsByErrorByPaging( max, offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Fatal

Fetch log messages based on Fatal Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsByFatal(new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}		
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
logService.FetchLogsByFatal(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();     
	}  
} 
Log *log = [logService fetchLogsByFatal]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Log log = logService.fetchLogsByFatal();   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
Log log = logService.fetchLogsByFatal();  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}		
String jsonResponse = log.toString();    
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsByFatal(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
Log log = logService.FetchLogsByFatal();   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$log = $logService->fetchLogsByFatal(); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsByFatal(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
} 
Coming Soon 

Fetch Logs Count By Fatal

Fetch count of log messages based on Fatal Level.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
logService.fetchLogsCountByFatal(new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords());		
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
}); 
logService.FetchLogsCountByFatal(new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{   
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
App42Response *response = [logService fetchLogsCountByFatal]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
App42Response response = logService.fetchLogsCountByFatal(); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
App42Response app42response = logService.fetchLogsCountByFatal(); 
System.out.println("Total Records : " + app42response.getTotalRecords()) ;	
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsCountByFatal(new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
App42Response response = logService.FetchLogsCountByFatal(); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$response = $logService->fetchLogsCountByFatal(); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
logService.fetchLogsCountByFatal(new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Fatal By Paging

Fetch log messages based on Fatal Level by paging.

Required Parameters

max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
int max = 1;
int offset = 0;  	
logService.fetchLogsByFatal(max, offset,new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}		
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
int max = 1;
int offset = 0;  	
logService.FetchLogsByFatal(max, offset, new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogsByFatal:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogsByFatal(max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogsByFatal(max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}		
String jsonResponse = log.toString();    
int max = 1;
int offset = 0;  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.FetchLogsByFatal(max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogsByFatal(max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogsByFatal($max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var max:int = 1;  
var offset:int = 0; 
logService.fetchLogsByFatalByPaging(max,offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Date Range

Fetch log messages based on Date range.

Required Parameters

startDate - Start date from which the log messages have to be fetched. endDate - End date up to which the log messages have to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
logService.fetchLogByDateRange(startDate, endDate,new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}		
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
logService.FetchLogByDateRange(startDate, endDate,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();
	}  
} 
NSCalendar *calendar = [NSCalendar currentCalendar];
NSDateComponents *components = [calendar components:(NSDayCalendarUnit | NSMonthCalendarUnit | NSYearCalendarUnit | NSWeekCalendarUnit) fromDate:today];  
NSDateComponents *yesterdayComponents = [components copy];
[yesterdayComponents setDay:[yesterdayComponents day]-1];
NSDate *startDate = [calendar dateFromComponents:yesterdayComponents];
NSDate *endDate = [NSDate date] ;
Log *log = [logService fetchLogByDateRange:startDate endDate:endDate]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
Log log = logService.fetchLogByDateRange(startDate, endDate);   
System.out.println("message is " + log.getMessageList().get(0).getMessage());
System.out.println("module is " + log.getMessageList().get(0).getModule());
String jsonResponse = log.toString();    
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
Log log = logService.fetchLogByDateRange(startDate, endDate);   
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}		
String jsonResponse = log.toString();    
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogByDateRange(startDate, endDate, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
Log log = logService.FetchLogByDateRange(startDate, endDate);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$date = date(DATE_ATOM, mktime());
$date2 = strtotime($date);
$newdate = strtotime('-2 day', strtotime($date));
$startDate = date('Y-m-j', $newdate);
$endDate = date('Y-m-j', $date2);
$log = $logService->fetchLogByDateRange($startDate, $endDate); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var startDate:Date = new Date(new Date().getTime() - 1000 * 60 * 60 * 24* 20);
var endDate:Date = new Date(new Date().getTime() + 100 * 60 * 60 * 24 * 10);
logService.fetchLogByDateRange(startDate,endDate,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs Count By Date Range

Fetch count of log messages based on Date range.

Required Parameters

startDate - Start date from which count of log messages has to be fetched. endDate - End date up to which count of log messages has to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
logService.fetchLogCountByDateRange(startDate, endDate,new App42CallBack() {
public void onSuccess(Object response) 
{
	App42Response app42response = (App42Response)response;      
	System.out.println("Total Records : " + app42response.getTotalRecords());			
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message : " + ex.getMessage());	
}
}); 
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
logService.FetchLogCountByDateRange(startDate,endDate,new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		App42Response success = (App42Response) response;     
		String jsonResponse = success.ToString();  
	}  
}  
NSCalendar *calendar = [NSCalendar currentCalendar];
NSDateComponents *components = [calendar components:(NSDayCalendarUnit | NSMonthCalendarUnit | NSYearCalendarUnit | NSWeekCalendarUnit) fromDate:today];  
NSDateComponents *yesterdayComponents = [components copy];
[yesterdayComponents setDay:[yesterdayComponents day]-1];
NSDate *startDate = [calendar dateFromComponents:yesterdayComponents];
NSDate *endDate = [NSDate date] ;
App42Response *response = [logService fetchLogCountByDateRange:startDate endDate:endDate]; 
NSString *success = response.isResponseSuccess;
NSString *jsonResponse = [response toString];                             
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
App42Response response = logService.fetchLogCountByDateRange(startDate,endDate); 
boolean  success = response.isResponseSuccess();
String jsonResponse = response.toString(); 
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
App42Response app42response = logService.fetchLogCountByDateRange(startDate,endDate); 
System.out.println("Total Records : " + app42response.getTotalRecords());	
boolean  success = app42response.isResponseSuccess();
String jsonResponse = app42response.toString(); 
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogCountByDateRange(startDate,endDate, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Coming Soon
Coming Soon
Coming Soon
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
App42Response response = logService.FetchLogCountByDateRange(startDate,endDate); 
Boolean  success = response.IsResponseSuccess();
String jsonResponse = response.ToString(); 
$date = date(DATE_ATOM, mktime());
$date2 = strtotime($date);
$newdate = strtotime('-2 day', strtotime($date));
$startDate = date('Y-m-j', $newdate);
$endDate = date('Y-m-j', $date2);
$response = $logService->fetchLogCountByDateRange($startDate,$endDate); 
print_r("Total Records : ".$response->getTotalRecords());
$success = $response->isResponseSuccess();
$jsonResponse = $response->toString(); 
Coming Soon
Coming Soon
var startDate:Date = new Date(new Date().getTime() - 1000 * 60 * 60 * 24* 20);
var endDate:Date = new Date(new Date().getTime() + 100 * 60 * 60 * 24 * 10);
logService.fetchLogCountByDateRange(startDate,endDate,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{			
		var log:Log = Log(response);
		trace("Total Records :"+log.getTotalRecords());	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Fetch Logs By Date Range By Paging

Fetch log messages based on Date range by paging.

Required Parameters

startDate - Start date from which the log messages have to be fetched. endDate - End date up to which the log messages have to be fetched. max - Maximum number of records to be fetched. offset - From where the records are to be fetched.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
int max = 1;
int offset = 0;  	
logService.fetchLogByDateRange(startDate, endDate, max, offset,new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	}		
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});   
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
int max = 1;
int offset = 0;  	
logService.FetchLogByDateRange(startDate, endDate, max, offset, new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			Console.WriteLine(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			Console.WriteLine(" Message is : " + log.GetMessageList()[i].GetMessage());
			Console.WriteLine(" Module is  : " + log.GetMessageList()[i].GetModule());
			Console.WriteLine(" Log Type is  : " + log.GetMessageList()[i].GetType());
			Console.WriteLine(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		String jsonResponse = log.ToString();           
	}  
} 
NSCalendar *calendar = [NSCalendar currentCalendar];
NSDateComponents *components = [calendar components:(NSDayCalendarUnit | NSMonthCalendarUnit | NSYearCalendarUnit | NSWeekCalendarUnit) fromDate:today];  
NSDateComponents *yesterdayComponents = [components copy];
[yesterdayComponents setDay:[yesterdayComponents day]-1];
NSDate *startDate = [calendar dateFromComponents:yesterdayComponents];
NSDate *endDate = [NSDate date] ;
int max = 1;
int offset = 0;  	
Log *log = [logService fetchLogByDateRange:startDate endDate:endDate max:max offset:offset]; 
NSLog(@"message is %@" , [[log.logMessageArray objectAtIndex:0] message]);
NSLog(@"module is %@" , [[log.logMessageArray objectAtIndex:0] module]);
NSString *jsonResponse = [log toString]; 
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
Integer max = new Integer(1);
Integer offset = new Integer(0);  
Log log = logService.fetchLogByDateRange(startDate,endDate,max,offset);   
System.out.println("message is " + ((Message)log.getMessageList().elementAt(0)).getMessage());
System.out.println("module is " + ((Message)log.getMessageList().elementAt(0)).getModule());
String jsonResponse = log.toString();    
Date startDate = new Date(new Date().getTime() - 60 * 60 * 1000) ;
Date endDate = new Date(new Date().getTime()) ;
int max = 1;
int offset = 0;  	
Log log = logService.fetchLogByDateRange(startDate,endDate,max,offset);  
ArrayList<Log.Message> messageList =  log.getMessageList();  
for(int i=0;i<messageList.size();i++)
{    
	System.out.println("msg is " + messageList.get(i).getMessage());  
	System.out.println("module is " +  messageList.get(i).getModule());  
	System.out.println("type is " +  messageList.get(i).getType());  
	System.out.println("logTime is " +  messageList.get(i).getLogTime());  
}		
String jsonResponse = log.toString();    
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
int max = 1;
int offset = 0; 
App42Log.SetDebug(true);		//Print output in your editor console 	
logService.FetchLogByDateRange(startDate, endDate, max, offset, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Response Is : " + response);
		Log log = (Log) response; 
		for (int i = 0; i < log.GetMessageList().Count; i++) 
		{
			App42Log.Console(" jsonResponse is : " + log.GetMessageList()[i].ToString());
			App42Log.Console(" Message is : " + log.GetMessageList()[i].GetMessage());
			App42Log.Console(" Module is  : " + log.GetMessageList()[i].GetModule());
			App42Log.Console(" Log Type is  : " + log.GetMessageList()[i].GetType());
			App42Log.Console(" Log Time is  : " + log.GetMessageList()[i].GetLogTime());
		}
		App42Log.Console("Success : " + log.ToString());
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
Not Available
Coming Soon
Coming Soon
DateTime startDate = DateTime.Today;
DateTime endDate = DateTime.Now;
int max = 1;
int offset = 0;  	
Log log = logService.FetchLogByDateRange(startDate,endDate,max,offset);   
Console.WriteLine("message is " + log.GetMessageList()[0].GetMessage());
Console.WriteLine("module is " + log.GetMessageList()[0].GetModule());
String jsonResponse = log.ToString();         
$date = date(DATE_ATOM, mktime());
$date2 = strtotime($date);
$newdate = strtotime('-2 day', strtotime($date));
$startDate = date('Y-m-j', $newdate);
$endDate = date('Y-m-j', $date2);
$max = 1;
$offset = 0;  	
$log = $logService->fetchLogByDateRange($startDate,$endDate,$max,$offset); 
$message = $log->getMessageList();
foreach ($message as $messageList)
{
	print_r("msg is : " . $messageList->getMessage());
	print_r("module is : " . $messageList->getModule());
	print_r("type is : " . $messageList->getType());
	print_r("logTime is : " . $messageList->getLogTime());
}
$jsonResponse = $log->toString(); 
Coming Soon
Coming Soon
var startDate:Date = new Date(new Date().getTime() - 1000 * 60 * 60 * 24* 20);
var endDate:Date = new Date(new Date().getTime() + 100 * 60 * 60 * 24 * 10);
var max:int = 1;  
var offset:int = 0; 
logService.fetchLogByDateRangeByPaging(startDate, endDate, max, offset,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		var log:Log = Log(response);
		if(log.getMessageList().length > 0)
		{
			for(var i:int=0;i<log.getMessageList().length;i++)
			{
				trace("Log Time is : " + Message(log.getMessageList()[i]).getLogTime());
				trace("Message is " + Message(log.getMessageList()[i]).getMessage());
				trace("Module is " + Message(log.getMessageList()[i]).getModule());
				trace("Get Type is " + Message(log.getMessageList()[i]).getType());
			}			
		}			
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon 

Set Event

At occurrence of an event (For example, the user clicked on a Purchase button inside your app), one can log events using setEvent method available by logging service as shown below. Similarly you can log other events at the time of occurrence.

Required Parameters

eventName - Name of the event which has to be logged.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String eventName = "eventName";  	
logService.setEvent(eventName,new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
}
public void onException(Exception ex)
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
String eventName = "eventName";  	
logService.SetEvent(eventName,new Callback());
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Success response : " + response);  
	}  
}
		
NSString *eventName = @"eventName";
[logService setEventWithName:eventName];
String eventName = "eventName";  	
logService.setEvent(eventName);
String eventName = "eventName";  	
log =logService.setEvent(eventName);
String eventName = "eventName";  
App42Log.SetDebug(true);		//Print output in your editor console	
logService.SetEvent(eventName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
var eventName = "eventName",
var result ;
logService.setEvent(eventName,{
	success: function(object) {
		var logObj = JSON.parse(object);
			console.log(logObj)
		});
	},
	error: function(error) {
		console.log(error)
	}
}); 
Coming Soon
Coming Soon
String eventName = "eventName";  	
logService.SetEvent(eventName);
$eventName = "eventName"; 
$logService->setEvent($eventName);
Coming Soon
Coming Soon
String eventName = "eventName"; 
logService.setEventWithEventName( eventName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		trace("Response is "+response);		
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon

Set Event With Module Name

At occurrence of an event (For example, the user clicked on a Purchase button inside your app), one can log events using setEvent method available by logging service as shown below. Similarly you can log other events at the time of occurrence.

Required Parameters

eventName - Name of the event which has to be logged. moduleName - Name of the module.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String eventName = "eventName";  
String moduleName = "moduleName";
logService.setEvent(moduleName, eventName, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;	
}
public void onException(Exception ex) 
{
	System.out.println("Exception Message"+ex.getMessage());	
}
});
String eventName = "eventName";  
String moduleName = "moduleName";	
logService.SetEvent(moduleName,eventName,new Callback());
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);  
	}  
	public void OnSuccess(Object response)  
	{  
		Console.WriteLine("Success response : " + response);  
	}  
}
		
NSString *eventName = @"eventName";
NSString *moduleName = @"moduleName";
[logService setEventWithName:eventName forModule:moduleName];
String eventName = "eventName";  
String moduleName = "moduleName";	
logService.setEvent(moduleName,eventName);
String eventName = "eventName";  
String moduleName = "moduleName";	
logService.setEvent(moduleName,eventName);
String eventName = "eventName";  
String moduleName = "moduleName";	
App42Log.SetDebug(true);		//Print output in your editor console
logService.SetEvent(moduleName, eventName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

	public void OnException(Exception e)
	{
		App42Log.Console("Exception : " + e);
	}
}
var eventName = "eventName",
var moduleName = "moduleName",
var result ;
logService.setEventWithModuleName(moduleName, eventName,{
	success: function(object) {
		test( "setEventwithModule", function() {
		var logObj = JSON.parse(object);
			console.log(logObj)
		});
	},
	error: function(error) {
		console.log(error)
	}
}); 
Coming Soon
Coming Soon
String eventName = "eventName";  
String moduleName = "moduleName";	
logService.SetEvent(moduleName,eventName);
$eventName = "eventName";  
$moduleName = "moduleName";
$logService->setEventWithModuleName($moduleName,$eventName);
Coming Soon
Coming Soon
var moduleName:String = "moduleName";  
var eventName:String = "eventName";    
logService.setEventWithModuleName(moduleName , eventName,new callback());
class callback implements App42CallBack
{
	public function onSuccess(response:Object):void
	{	
		
		trace("Response is "+response);	
	}
	public function onException(exception:App42Exception):void
	{
		trace("Exception Message " + exception);
	}
}
Coming Soon

Exception Handling

The functions available under Logging API can throw some exceptions in abnormal conditions. Example of the same has been given below. E.g. If App developer is requesting the logs for the module which is not in the database, the function will throw the App42Exception (as shown below) with message as “Not Found” and the appErrorCode as “2700” and the details as “Logs for the module ‘@module’ does not exist”.

  • create User Api for Android
  • create User Api for Windows
  • create User Api for iOS
  • create User Api for J2ME
  • create User Api for Java
  • create User Api for Unity
  • create User Api for JS
  • create User Api for Corona
  • create User Api for Cocos2DX
  • create User Api for .Net
  • create User Api for PHP
  • create User Api for Marmalade
  •  create User Api for Ruby
  •  create User Api for Flash
String moduleName =	"moduleName";	 
logService.fetchLogsByModule(moduleName, new App42CallBack() {
public void onSuccess(Object response) 
{
	Log log = (Log)response;
	ArrayList<Log.Message> messageList =  log.getMessageList();  
	for(int i=0;i<messageList.size();i++)
	{    
		System.out.println("msg is " + messageList.get(i).getMessage());  
		System.out.println("module is " +  messageList.get(i).getModule());  
		System.out.println("type is " +  messageList.get(i).getType());  
		System.out.println("logTime is " +  messageList.get(i).getLogTime());  
	} 	
}
public void onException(Exception ex) 
{
	App42Exception exception = (App42Exception)ex;
	int appErrorCode = exception.getAppErrorCode();
	int httpErrorCode = exception.getHttpErrorCode();
	if(appErrorCode == 2700)
	{
	// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if(appErrorCode == 1401)
	{
	// handle here for Client is not authorized
	}
	else if(appErrorCode == 1500)
	{
	// handle here for Internal Server Error
	}	
	String jsonText = ex.getMessage(); 
	}                           	   
});                          
String moduleName =	"moduleName";
logService.FetchLogsByModule(moduleName, new Callback());  
public class Callback : App42Callback  
{  
	public void OnException(App42Exception exception)  
	{  
		Console.WriteLine("Exception Message : " + exception);
		int appErrorCode = exception.GetAppErrorCode();
		int httpErrorCode = exception.GetHttpErrorCode();
		if(appErrorCode == 2700)
		{
			// Handle here for Not Found (Logs for the module '@module' does not exist.)
		}
		else if(appErrorCode == 1401)
		{
			// handle here for Client is not authorized
		}
		else if(appErrorCode == 1500)
		{
			// handle here for Internal Server Error
		}	
		String jsonText = exception.GetMessage(); 		
	}  
	public void OnSuccess(Object response)  
	{  
		Log log = (Log)response;
		String jsonResponse = log.ToString();  
	} 
}  
					
NSString *moduleName = @"moduleName";
@try
{
	Log *log = [logService fetchLogsByModule:moduleName];
} @catch(App42Exception *ex) {
	int appErrorCode = ex.appErrorCode;
	int httpErrorCode = ex.httpErrorCode;
	if(appErrorCode == 2700)
	{
		// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if(appErrorCode == 1401)
	{
		// handle here for Client is not authorized
	}
	else if(appErrorCode == 1500)
	{
		// handle here for Internal Server Error
	}	
	NSString *jsonText = ex.reason; 
} 
String moduleName =	"moduleName";	 
try
{
	Log log = logService.fetchLogsByModule(moduleName);
}
catch(App42Exception ex) 
{
	int appErrorCode = ex.getAppErrorCode();
	int httpErrorCode = ex.getHttpErrorCode();
	if(appErrorCode == 2700)
	{
		// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if(appErrorCode == 1401)
	{
		// handle here for Client is not authorized
	}
	else if(appErrorCode == 1500)
	{
		// handle here for Internal Server Error
	}	
	String jsonText = ex.getMessage(); 
}    
String moduleName =	"moduleName";	 
try
{
	Log log = logService.fetchLogsByModule(moduleName);
}
catch(App42Exception ex) 
{
	int appErrorCode = ex.getAppErrorCode();
	int httpErrorCode = ex.getHttpErrorCode();
	if(appErrorCode == 2700)
	{
		// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if(appErrorCode == 1401)
	{
		// handle here for Client is not authorized
	}
	else if(appErrorCode == 1500)
	{
		// handle here for Internal Server Error
	}	
	String jsonText = ex.getMessage(); 
}    
String moduleName = "moduleName";	
App42Log.SetDebug(true);		//Print output in your editor console
logService.FetchLogsByModule(moduleName, new UnityCallBack()); 
public class UnityCallBack : App42CallBack
{
	public void OnException(Exception ex)
	{
		int appErrorCode = ex.GetAppErrorCode();
	int httpErrorCode = ex.GetHttpErrorCode();
	if(appErrorCode == 2700)
	{
		// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if(appErrorCode == 1401)
	{
		// handle here for Client is not authorized
	}
	else if(appErrorCode == 1500)
	{
		// handle here for Internal Server Error
	}	
	String jsonText = ex.GetMessage(); 
	}
	
	public void OnSuccess(object response)
	{
		App42Log.Console("Success : " + response);
	}

}
Not Available
Coming Soon
Coming Soon
String moduleName =	"moduleName";	 
try
{
	Log log = logService.FetchLogsByModule(moduleName);
}
catch(App42Exception ex) 
{
	int appErrorCode = ex.GetAppErrorCode();
	int httpErrorCode = ex.GetHttpErrorCode();
	if(appErrorCode == 2700)
	{
		// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if(appErrorCode == 1401)
	{
		// handle here for Client is not authorized
	}
	else if(appErrorCode == 1500)
	{
		// handle here for Internal Server Error
	}	
	String jsonText = ex.GetMessage(); 
}    
$moduleName = "moduleName";
try
{
	$log = $logService->fetchLogsByModule($moduleName);
}
catch(App42Exception $ex )
{
	$appErrorCode = $ex->getAppErrorCode();
	$httpErrorCode = $ex->getHttpErrorCode();
	if($appErrorCode == 2700)
	{
		// Handle here for Not Found (Logs for the module '@module' does not exist.)
	}
	else if($appErrorCode == 1401)
	{
		// handle here for Client is not authorized
	}
	else if($appErrorCode == 1500)
	{
		// handle here for Internal Server Error
	}	
	String $jsonText = $ex->getMessage(); 
} 
Coming Soon
Coming Soon
Coming Soon 
Coming Soon

Error Codes

Functions in Log API might throw exceptions with following HTTP and Application Error Codes (along with their descriptions):

1400 - BAD REQUEST - The Request parameters are invalid. 1401 - UNAUTHORIZED - Client is not authorized. 1500 - INTERNAL SERVER ERROR - Internal Server Error. Please try again. 2700 - NOT FOUND - Logs for the module '@module' does not exist. 2701 - NOT FOUND - Logs for the type '@type' does not exist. 2702 - Not Found - Logs between startDate '@startDate' and endDate '@endDate' does not exist. 2703 - NOT FOUND - Logs for the module '@module' with text '@text' does not exist. 2704 - NOT FOUND - The number of logs for the module '@module' are less than the specified offset : + "offset". 2705 - NOT FOUND - The number of logs for the type '@type' are less than the specified offset : + "offset". 2706 - NOT FOUND - The number of logs betweem startDate '@startDate' and EndDate '@endDate' are less than the specified offset : + "offset". 2707 - NOT FOUND - The number of logs for the module '@module' with text '@text' are less than the specified offset : + "offset".