Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

mobiledevpro/remote-logcat-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remote-logcat

Android Library for remote debugging service (remote logcat)

How to use the library:

  1. Download the latest version from releases
  2. Open Android Studio -> File -> New -> New module - > Import .JAR/.AAR package -> Select downloaded .AAR file.
  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