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 SummaryModifier 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- 
reportReport a caught exception. This is usually used to report non-fatal exception to the backend.- Parameters:
- exception- the exception
 
- 
logAdds a log line to the crash context- Parameters:
- tag- The tag
- message- The log message
 
- 
setSets 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 key
- value- the value
 
- 
setSets 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 key
- value- the value
 
- 
setSets 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 key
- value- the value
 
- 
setSets 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 key
- value- the value
 
 
-