rxlog

RxLog library (for RxJava2)

Лицензия

Лицензия

Группа

Группа

sk.teamsoft
Идентификатор

Идентификатор

rxlog
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

rxlog
RxLog library (for RxJava2)
Ссылка на сайт

Ссылка на сайт

https://github.com/Team-SOFTsk/RxLog
Система контроля версий

Система контроля версий

https://github.com/Team-SOFTsk/RxLog

Скачать rxlog

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/sk.teamsoft/rxlog/ -->
<dependency>
    <groupId>sk.teamsoft</groupId>
    <artifactId>rxlog</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/sk.teamsoft/rxlog/
implementation 'sk.teamsoft:rxlog:1.0.2'
// https://jarcasting.com/artifacts/sk.teamsoft/rxlog/
implementation ("sk.teamsoft:rxlog:1.0.2")
'sk.teamsoft:rxlog:aar:1.0.2'
<dependency org="sk.teamsoft" name="rxlog" rev="1.0.2">
  <artifact name="rxlog" type="aar" />
</dependency>
@Grapes(
@Grab(group='sk.teamsoft', module='rxlog', version='1.0.2')
)
libraryDependencies += "sk.teamsoft" % "rxlog" % "1.0.2"
[sk.teamsoft/rxlog "1.0.2"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.jakewharton.timber : timber jar 4.5.1
io.reactivex.rxjava2 : rxjava jar 2.0.9

Модули Проекта

Данный проект не имеет модулей.

RxLog

RxLog is a simple helper library to handle your RxJava logs. Supports both RxJava1 and RxJava2

Download Maven Central

Usage

For RxJava2

compile 'sk.teamsoft:rxlog:1.0.2'

For RxJava1

compile 'sk.teamsoft:rxlog1:1.0.2'

For full lifecycle logging

Observable.just(data)
    .compose(RxLog("this will log all lifecycle events (subscribe/next/complete/error...) of this stream"))
    .subscribe(...);

For custom logging

Observable.just(data)
    .compose(RxLog("this will log only next and complete events", RxLog.LOG_NEXT_DATA | RxLog.LOG_COMPLETE))
    .subscribe(...);

Available options for bitmask:

  • LOG_NEXT_DATA - logs next event with data
  • LOG_NEXT_EVENT - logs next event but without data (useful when data is too big to serialize)
  • LOG_ERROR - logs error event
  • LOG_COMPLETE - logs complete event
  • LOG_SUBSCRIBE - logs subscribe event
  • LOG_TERMINATE - logs terminate event
  • LOG_DISPOSE - logs dispose event

Author

Team-SOFT s.r.o.
dusan@teamsoft.sk

sk.teamsoft

Team-SOFT s.r.o.

Team-SOFT s.r.o. is a company, which focuses on complex enterprise solutions and ERP systems for small and medium-sized companies

Версии библиотеки

Версия
1.0.2
1.0.1
1.0.0