Class 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 Detail

      • DefaultLogcatInterceptor

        public DefaultLogcatInterceptor()
    • 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 interface LogcatInterceptor
        Parameters:
        interceptedLog - log intercepted
        Returns:
        The log entry to be logged. If null is returned the log entry won't be logged.