Android Log collection feature design and implementation report (total)

Source: Internet
Author: User
<span id="Label3"></p><p><p><span style="font-family:SimSun">Almost all application developers know that "user experience" is important, in order to enhance the user experience is inseparable from a comprehensive monitoring and reporting system, where these logs (control crash reports) are the main problem tracking and resolution Tools.</span></p></p><p><p>Log Escalation System. First look at the class Diagram:</p></p><p><p><span style="font-family:SimSun"><br></span></p></p><p><p><span style="font-family:SimSun">The entire log monitoring escalation is broadly divided into the following sections:</span></p></p><p><p></p></p> <ol> <ol> <li><span style="font-family:SimSun">Package control system native log, and then output to logcat and files according to different levels, mainly class Logcatlog and FileLog implementations.</span></li> <li><span style="font-family:SimSun">Collect additional information about your phone and escalate it to the server, including settings information, dropbox-printed log, app sharedpreference, device resolution information, and More. All of these are xxcolector and can be uploaded according to the need (background configuration control).<p></p><p></p></span></li> <li><span style="font-family:SimSun">Escalate FileLog information, crash information, and collector-collected mobile phone information to the Server. The way of escalation is mainly divided into: sent by email and via HTTP (and background cgi). Of course you can also choose to send to Google form and so On.<p></p><p></p></span></li> <li><span style="font-family:SimSun">Crash exception capture processing (i.e.: inheritance implementation uncaughtexceptionhandler), implemented in Logcenter.<p></p><p></p></span></li> <li><span style="font-family:SimSun">Good configurable information, that is: the system all the log collection, send the way is the background can be Configured.</span></li> </ol> </ol><p><p></p></p><p><p><span style="font-family:SimSun">next, it will introduce 5 Subjects.</span></p></p> <p style="font-size:12px;"><p style="font-size:12px;">Copyright Notice: This article Bo master original articles, blogs, without consent may not be reproduced.</p></p> <p><p>Android Log collection feature design and implementation report (total)</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.