Template for LogVue plugins.
LogVue is a tool which helps in monitoring, analysing, exporting local analytics from Android device and to use SQL-Like query to filter logs on desktop!
- Sample In-house analytics
- Copy packaged zip in logVue plugins directory.
- JDK 18 is required to build this plugin (See download links below)
- Set JDK 18 for this project (Either by setting in gradle.properties or through gradle setting in intellij editors)
- Use this repo as template
- Checkout your repository
- Change/Create plugin module in plugins directory (See sample)
- Add logVue api & pf4j dependencies as in sample's build.gradle file
- Create a file for plugin extending
Plugin(wrapper)
to listen to start/stop/delete events. See SamplePlugin.kt - Create a file for extension where actual parsing of logs can be done. It needs to annotated with
@Extension
and must extendLogEventParser
filters()
should be used to define a list of tags which are supported by this plugin.validate()
andparse()
are used to consume analytics logs.- Convert the logs in
LogItem
which takes eventName and other arguments in analytics.
Raise an issue on LogVue repository for any issues or discussion.