Giter Site home page Giter Site logo

androidreporter's Introduction

AndroidReporter

a easy library for Android report.

#Feature

  • auto log Activity&Fragment lifecycle to file
  • support push a single report right now, this report is logged in file of course.
  • custome report
  • single 2 threads to log report event,not block UI thread

Report log file demo

/data/data/yourpackage/files/2016-04-06 18.log

{"type":1,"timeStamp":1459925831393,"mMethod":0,"tag":"MainActivity","extra":"onCreate","mUrl":""} {"type":1,"timeStamp":1459925831426,"mMethod":0,"tag":"MainActivity","extra":"onStart","mUrl":""} {"type":1,"timeStamp":1459925831426,"mMethod":0,"tag":"MainActivity","extra":"onResume","mUrl":""} {"type":1,"timeStamp":1459925834527,"mMethod":0,"tag":"MainActivity","extra":"我点击了按钮","mUrl":""} {"type":1,"timeStamp":1459925834532,"mMethod":0,"tag":"MainActivity","extra":"onPause","mUrl":""} {"type":1,"timeStamp":1459925834543,"mMethod":0,"tag":"SecondActivity","extra":"onCreate","mUrl":""} {"type":1,"timeStamp":1459925834547,"mMethod":0,"tag":"SecondActivity","extra":"onStart","mUrl":""} {"type":1,"timeStamp":1459925834547,"mMethod":0,"tag":"SecondActivity","extra":"onResume","mUrl":""} {"type":1,"timeStamp":1459925834947,"mMethod":0,"tag":"MainActivity","extra":"onStop","mUrl":""} {"type":1,"timeStamp":1459925835839,"mMethod":0,"tag":"SecondActivity","extra":"onPause","mUrl":""} {"type":1,"timeStamp":1459925836708,"mMethod":0,"tag":"SecondActivity","extra":"onStop","mUrl":""}

Target

We can use the log file to anaylsis:

  • the whole time of stay every Activity or Fragment
  • log where every single custom report is from

Simple Archture

Thanks

Thanks for Volley,when I began to write this first Android library,my inspiration is from volley.

androidreporter's People

Contributors

tigerface avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.