Hi Team,
I am trying to do appdynamics on a xamarin forms app.
I am getting the crash details.
I have used instrumentation and logging some data from code
public MainPage()
{
var callTracker = AppDynamics.Agent.Instrumentation.BeginCall("MainPage", "Constructor", "Page ConstructorLoading");
InitializeComponent();
try
{
//Label f = new Label();
//f.Text = "Welcome";
//this.Content = f;
AppDynamics.Agent.Instrumentation.EndCall(callTracker);
}
catch(Exception ex)
{
AppDynamics.Agent.Instrumentation.LeaveBreadcrumb("login",AppDynamics.Agent.BreadcrumbVisibility.CrashesAndSessions);
AppDynamics.Agent.Instrumentation.EndCall(callTracker, ex);
}
}
Where can I find these logs in site? I am unable to find this information.
Hi Simi,
If you want to track your calls or report other types of metrics, You can instrument methods to see how often the instrumented a method is invoked and how long it takes to run. To do this, add a call at the beginning and end of the method you'd like to instrument.
All this data will be available in the Controller Mobile app UI; should be available in Network Request Analyze and is added to any crash snapshots that may be taken. For anything extra that you might have added to get in logs, should come in either the ios/android app console logs or the mobile agent logs. There is no separate logging for anything other than this.
Thank You,
Chitra
Could you please tell me how we can see the android/ios console log and mobile agaent log (the navigation)?
Hi Simi,
Console logs would come when you restart your app, in yourAndroid Studio Console(or whatever tool you are using for building the app). And aprt from this you should have log files named like " appdynamics_eum_android_bci.log" in the build folder. Ideally the log file location is configurable and can be diff for diff customers.
Thanks,
Chitra