Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
08-13-2018 12:27 AM - last edited on 06-29-2020 02:36 PM by Ryan.Paredez
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.
08-16-2018 12:21 AM
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
08-16-2018 02:19 AM
Could you please tell me how we can see the android/ios console log and mobile agaent log (the navigation)?
08-17-2018 03:26 AM
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
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form