Package com.castlabs.analytics
Interface CrashReporter
public interface CrashReporter
Implementations of this interface allow connections to crash logging systems. The crash logger
 typically intercepts uncaught exceptions automatically but allows to specify a more advanced
 context using the various set methods.
- Since:
 - 3.0.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a log line to the crash contextvoidReport a caught exception.voidSets a boolean valuevoidSets a double valuevoidSets an int valuevoidSets a string value. 
- 
Method Details
- 
report
Report a caught exception. This is usually used to report non-fatal exception to the backend.- Parameters:
 exception- the exception
 - 
log
Adds a log line to the crash context- Parameters:
 tag- The tagmessage- The log message
 - 
set
Sets a string value. Key value pairs like this should be send when a crash is recorder and will help to debug the issue.- Parameters:
 key- the keyvalue- the value
 - 
set
Sets an int value Key value pairs like this should be send when a crash is recorder and will help to debug the issue.- Parameters:
 key- the keyvalue- the value
 - 
set
Sets a double value Key value pairs like this should be send when a crash is recorder and will help to debug the issue.- Parameters:
 key- the keyvalue- the value
 - 
set
Sets a boolean value Key value pairs like this should be send when a crash is recorder and will help to debug the issue.- Parameters:
 key- the keyvalue- the value
 
 -