Skip to content
/ Clerk Public

Clerk is a log service to collect and display your app log on Android devices.

License

Notifications You must be signed in to change notification settings

Jintin/Clerk

Repository files navigation

Clerk

Build Status Codacy Badge Maintainability Download

Clerk is a log service to collect and display your app log on Android devices.

Install

  • Simple install by gradle dependency to your project
implementation 'com.github.jintin:clerk:1.1'
  • Install the agent app on Google Play or build from app module.

Usage

Clerk send log information by Android broadcast functionality. There are two ways to do that:

  1. Installing the lib module by gradle and calling the built-in function ClerkUtils.log() with require parameter. You can get more information by tracing the sample module
  2. Sending the broadcast by your own follow by the interface:
Intent("com.jintin.clerk.LOG_ACTION").also {
    it.putExtra("data", "your Log information")
    it.putExtra("channel", "specific channel for search (optional)")
    it.putExtra("app", "your packagename")
    it.component = ComponentName("com.jintin.clerk", "com.jintin.clerk.app.LogReceiver")
    context.sendBroadcast(it)
}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Jintin/Clerk.

License

The module is available as open source under the terms of the MIT License.

About

Clerk is a log service to collect and display your app log on Android devices.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published