Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
/ remote-logcat Public archive

Android Library for remote debugging service. Debug the app remotely.

Notifications You must be signed in to change notification settings

mobiledevpro/remote-logcat

Repository files navigation

remote-logcat

Android Library for remote debugging service (remote logcat)

How to use the library:

  1. Add it into the root-level build.gradle to the end of repositories:

    	allprojects {
    		repositories {
    			...
    			maven { url 'https://jitpack.io' }
    		}
    	}
    
  2. Add the dependency into the app-level build.gradle:

    	dependencies {
    	        compile 'com.github.mobile-dev-pro:remote-logcat:VERSION'
    	}
    
    
  3. Init library in the main application class in onCreate() method:

public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        RemoteLog.init(this, "token here");
    }
}
  1. Add user's name or login for logs (if it needed):
RemoteLog.setUserInfo(
      new UserInfoModel([user's name or user's login here])
);
  1. Send log:
    • debug:
    RemoteLog.d("log tag here", "message text here");
    • error:
    RemoteLog.e("log tag here", "error text here");
  2. See logs on web-page http://api.mobile-dev.pro/applog/
  3. Sign-Up