Class InterceptedLog


  • public class InterceptedLog
    extends java.lang.Object
    Intercepted log from Logcat
    • Constructor Summary

      Constructors 
      Constructor Description
      InterceptedLog​(int lineNumber, java.lang.String method, java.lang.String file, LogLevel level, java.lang.String tag, java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFile()
      Gets the file where the log has happened
      LogLevel getLevel()
      Gets the level of importance of the log
      int getLineNumber()
      Gets the line number of the log
      java.lang.String getMessage()
      Gets message to be logged.
      java.lang.String getMethod()
      Gets the method where the log has happened
      java.lang.String getTag()
      Gets the tag of the log line
      void setFile​(java.lang.String file)
      Sets the file where the log has happened
      void setLevel​(LogLevel level)
      Sets the level of importance of the log
      void setLineNumber​(int lineNumber)
      Sets the line number of the log
      void setMessage​(java.lang.String message)
      Sets message to be logged.
      void setMethod​(java.lang.String method)
      Sets the method where the log has happened
      void setTag​(java.lang.String tag)
      Sets the tag of the log line
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InterceptedLog

        public InterceptedLog​(int lineNumber,
                              java.lang.String method,
                              java.lang.String file,
                              LogLevel level,
                              java.lang.String tag,
                              java.lang.String message)
        Parameters:
        lineNumber - The line number of the log.
        method - The method where the log has happened.
        file - The file where the log has happened.
        level - Level of importance of the log
        tag - Tag to be applied to the log line.
        message - Message to be logged. The message will be logged verbatim, no interpretation will be performed
    • Method Detail

      • getLineNumber

        public int getLineNumber()
        Gets the line number of the log
      • setLineNumber

        public void setLineNumber​(int lineNumber)
        Sets the line number of the log
      • getMethod

        public java.lang.String getMethod()
        Gets the method where the log has happened
      • setMethod

        public void setMethod​(java.lang.String method)
        Sets the method where the log has happened
      • getFile

        public java.lang.String getFile()
        Gets the file where the log has happened
      • setFile

        public void setFile​(java.lang.String file)
        Sets the file where the log has happened
      • getLevel

        public LogLevel getLevel()
        Gets the level of importance of the log
      • setLevel

        public void setLevel​(LogLevel level)
        Sets the level of importance of the log
      • getTag

        public java.lang.String getTag()
        Gets the tag of the log line
      • setTag

        public void setTag​(java.lang.String tag)
        Sets the tag of the log line
      • getMessage

        public java.lang.String getMessage()
        Gets message to be logged.
      • setMessage

        public void setMessage​(java.lang.String message)
        Sets message to be logged. The message will be logged verbatim, no interpretation will be performed