GithubHelp home page GithubHelp logo

ibrahim-mubarak / logcatviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yamm-software/logcatviewer

0.0 0.0 0.0 4 MB

Android Logcat Viewer

License: GNU General Public License v3.0

Java 100.00%

logcatviewer's Introduction

Android Arsenal

LogcatViewer - Android Logcat Viewer

Purpose

LogcatViewer is utility library which will allow user to view the logcat logs of the application on phone itself.
It will be useful for tester to provide logs along with defects and also to developer to do initial analysis of defects.
Moreever, if correct tags are used, it can also be useful for performance measurement, for monitoring network requests etc. etc.

How to plug LogcatViewer in your application?

  1. Add following line to build.gradle.
repositories {
    maven {     
        url "https://jitpack.io"    
    }    
}  

dependencies { 
    compile 'com.github.fatangare.LogcatViewer:logcatviewer:aadf092447'
    }
  1. Add following code to launch LogcatViewer floating view. - To launch logcatviewer floating view.
LogcatViewer.showLogcatLoggerView(this);
  1. Add following services to AndroidManifest.xml. - To register services.
<service android:name="com.fatangare.logcatviewer.service.LogcatViewerService"
            android:label="LogcatLoggerService"></service>
 <service android:name="com.fatangare.logcatviewer.service.LogcatViewerFloatingView"
            android:label="LogcatLoggerFloatingView" > </service>

That's all!

It will launch floating window which will show logcat logs of the application.
mainview
Since it is floating window, user can play around with the application while viewing logcat logs.

Operations which can be done in LogcatViewer:

  1. Pause/Resume - Pause/Resume listening to logcat logs
  2. Stop/Start Recording - Recording to file starts automatically when the viewer is launched. File is stored in android.os.Environment.DIRECTORY_DOWNLOADS+ "/LogcatViewer/"+ getPackageName() directory. It take filter-text used before recording is started. Any change to filter-text during recording will not update filter-text used for recording. To apply new filter-text for recording, new recording should be started.
  3. View saved log files - Here you can share or delete log files saved on the device. (Bear in mind logs are written to file at 5s intervals).
  4. Enter filter text - Filter logs by filter text. It can be tag, package name or some text.
  5. Select log level - Filter logs by log level.
  6. Reset - Show all logcat logs.

More screenshots

Enter Filter text

filter

Select log level

loglevel

Notification

loglevel

logcatviewer's People

Contributors

fatangare avatar rogmabi avatar sfantangare-acn avatar smithaaron 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.