-
Notifications
You must be signed in to change notification settings - Fork 101
Home
Werner Kunze edited this page Apr 11, 2022
·
3 revisions
Frodo
is an android library mainly used for logging RxJava Observables and Subscribers outputs on the android logcat.
It generates and weaves code based on annotations only on debug
versions of the application where the plugin is applied, for instance, it is safe to persist any Frodo
annotation in the codebase.
Main Features -----------------
-
@RxLogObservable: Annotated methods which return
rx.Observables
will print debug information when anrx.Subscriber
subscribes to it. For usage, samples and more options, refer to @RxLogObservable wiki page. -
@RxLogSubscriber: Annotated classes which are of type
rx.Subscriber
will print debug information when receiving items from anrx.Observable
. For usage and examples, refer to @RxLogSubscriber wiki page.
Using Frodo ----------------- To enable Frodo, a gradle plugin must be applied in your ```build.gradle```:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.fernandocejas.frodo:frodo-plugin:${latest_version}"
}
}
apply plugin: 'com.android.application'
apply plugin: 'com.fernandocejas.frodo'
License -----------------
Copyright 2015 Fernando Cejas
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.