Clerk

Build Status Codacy Badge Maintainability Download

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

Install

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.