Package com.bugfender.sdk.logcat
Class InterceptedLog
- java.lang.Object
-
- com.bugfender.sdk.logcat.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 happenedLogLevel
getLevel()
Gets the level of importance of the logint
getLineNumber()
Gets the line number of the logjava.lang.String
getMessage()
Gets message to be logged.java.lang.String
getMethod()
Gets the method where the log has happenedjava.lang.String
getTag()
Gets the tag of the log linevoid
setFile(java.lang.String file)
Sets the file where the log has happenedvoid
setLevel(LogLevel level)
Sets the level of importance of the logvoid
setLineNumber(int lineNumber)
Sets the line number of the logvoid
setMessage(java.lang.String message)
Sets message to be logged.void
setMethod(java.lang.String method)
Sets the method where the log has happenedvoid
setTag(java.lang.String tag)
Sets the tag of the log line
-
-
-
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 logtag
- 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
-
-