rxlog1

RxLog library (for RxJava1)

License

License

GroupId

GroupId

sk.teamsoft
ArtifactId

ArtifactId

rxlog1
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

aar
Description

Description

rxlog1
RxLog library (for RxJava1)
Project URL

Project URL

https://github.com/Team-SOFTsk/RxLog
Source Code Management

Source Code Management

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

Download rxlog1

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.jakewharton.timber : timber jar 4.5.1
io.reactivex : rxjava jar 1.2.9

Project Modules

There are no modules declared in this project.

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.
[email protected]

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

Versions

Version
1.0.3
1.0.2
1.0.1
1.0.0