Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pt2121/marbledcat
Rx Marble diagram in logcat
https://github.com/pt2121/marbledcat
Last synced: about 1 month ago
JSON representation
Rx Marble diagram in logcat
- Host: GitHub
- URL: https://github.com/pt2121/marbledcat
- Owner: pt2121
- License: apache-2.0
- Created: 2015-11-06T01:53:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-24T22:46:20.000Z (about 8 years ago)
- Last Synced: 2024-10-15T19:07:11.659Z (3 months ago)
- Language: Java
- Homepage:
- Size: 12.5 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MarbledCat
============####Rx Marble diagram in logcat.
[![Build Status](https://travis-ci.org/prt2121/MarbledCat.svg?branch=master)](https://travis-ci.org/prt2121/MarbledCat)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.prt2121/marbledcat-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.prt2121/marbledcat-plugin)MarbledCat allows developers to visualize Rx streams in Android logcat by applying Aspect-oriented programming techniques to inject logging code into RxJava method calls.
![screenshot](https://raw.githubusercontent.com/prt2121/MarbledCat/master/assets/screenshot.png)
![screen record](https://raw.githubusercontent.com/prt2121/MarbledCat/master/assets/vid.gif)
####Install
* Add marbledcat-plugin in your build script dependencies:
```groovy
buildscript {
repositories {
jcenter()
mavenCentral() // Add mavenCentral
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.github.prt2121:marbledcat-plugin:0.4.1' // Add plugin
}
}
```* In our app build.gradle, apply the plugin and add marbledcat-annotation dependency:
```groovy
apply plugin: 'com.android.application'
apply plugin: 'com.prt2121.marbledcat' // Apply plugindependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
...
compile 'com.github.prt2121:marbledcat-annotation:0.4.1' // add marbledcat-annotation dependency
}
```* In the class that you need to log, add RxLog annotation:
```java
@RxLog // Add annotation
public class AwesomeActivity extends AppCompatActivity {
```#### [Release page](https://github.com/prt2121/MarbledCat/releases)
#### Limitation
* The log printed correctly only when one class is annotated.#### Thanks/Credits/Inspiration
* [rxvision](https://github.com/jaredly/rxvision)
* [Hugo](https://github.com/JakeWharton/hugo)
* [Frodo](https://github.com/android10/frodo)[License](LICENSE)