Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Routine Logging Interceptor

A Routine interceptorA Routine interceptor which logs router call information.

Usage

Routine routine = new Routine.Builder()
  .addInterceptor(new RoutineLoggingInterceptor())
  .build();

You can change the log level at any time by calling setLevel. To log to a custom location, pass a Logger instance to the constructor.

RoutineLoggingInterceptor logging = new RoutineLoggingInterceptor(new Logger() {
  @Override public void log(String message) {
    Timber.tag("Routine").d(message);
  }
});

Download

compile 'com.anbillon.routine:logging-interceptor:1.1.1'