Class InterceptedLog

java.lang.Object
com.bugfender.sdk.logcat.InterceptedLog

public class InterceptedLog extends Object
Intercepted log from Logcat
  • Constructor Details

    • InterceptedLog

      public InterceptedLog(int lineNumber, String method, String file, LogLevel level, String tag, 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 Details

    • 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 String getMethod()
      Gets the method where the log has happened
    • setMethod

      public void setMethod(String method)
      Sets the method where the log has happened
    • getFile

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

      public void setFile(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 String getTag()
      Gets the tag of the log line
    • setTag

      public void setTag(String tag)
      Sets the tag of the log line
    • getMessage

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

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