A Routine interceptorA Routine interceptor which logs router call information.
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);
}
});compile 'com.anbillon.routine:logging-interceptor:1.1.1'