Package com.bugfender.sdk.logcat
Class InterceptedLog
java.lang.Object
com.bugfender.sdk.logcat.InterceptedLog
Intercepted log from Logcat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
Gets the file where the log has happenedgetLevel()
Gets the level of importance of the logint
Gets the line number of the logGets message to be logged.Gets the method where the log has happenedgetTag()
Gets the tag of the log linevoid
Sets the file where the log has happenedvoid
Sets the level of importance of the logvoid
setLineNumber
(int lineNumber) Sets the line number of the logvoid
setMessage
(String message) Sets message to be logged.void
Sets the method where the log has happenedvoid
Sets the tag of the log line
-
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 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 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
Gets the method where the log has happened -
setMethod
Sets the method where the log has happened -
getFile
Gets the file where the log has happened -
setFile
Sets the file where the log has happened -
getLevel
Gets the level of importance of the log -
setLevel
Sets the level of importance of the log -
getTag
Gets the tag of the log line -
setTag
Sets the tag of the log line -
getMessage
Gets message to be logged. -
setMessage
Sets message to be logged. The message will be logged verbatim, no interpretation will be performed
-