Package com.bugfender.sdk.logcat
Class DefaultLogcatInterceptor
- java.lang.Object
-
- com.bugfender.sdk.logcat.DefaultLogcatInterceptor
-
- All Implemented Interfaces:
LogcatInterceptor
public class DefaultLogcatInterceptor extends java.lang.Object implements LogcatInterceptor
This interceptor does nothing and returns the intercepted Log as is
-
-
Constructor Summary
Constructors Constructor Description DefaultLogcatInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterceptedLog
intercept(InterceptedLog interceptedLog)
Intercept a log entry from the Logcat and allow to modify it or to block it.
-
-
-
Method Detail
-
intercept
public InterceptedLog intercept(InterceptedLog interceptedLog)
Description copied from interface:LogcatInterceptor
Intercept a log entry from the Logcat and allow to modify it or to block it.- Specified by:
intercept
in interfaceLogcatInterceptor
- Parameters:
interceptedLog
- log intercepted- Returns:
- The log entry to be logged. If null is returned the log entry won't be logged.
-
-