Hi,
I’m evaluating SciChart for use in a production app.
Is there any way to log exceptions generated by SciChart? Currently I’m logging all handled and unhandled exceptions in my app to my server so that issues can be flagged without users having to manually submit support tickets. SciChart is printing internal exceptions to console – is there any way to override that with our own error handling mechanism? If not, how should we monitor for production errors generated internally by SciChart?
Thanks
- Mike Liu asked 6 years ago
- You must login to post comments
Hi Mike,
Yes, you can override it by setting custom ISciChartDebugLoggerFacade implementation ( default one prints messages to logcat ) for SciChartDebugLogger:
SciChartDebugLogger.instance().setLoggerFacade(new ISciChartDebugLoggerFacade() {
@Override
public void logInfo(String tag, String stringFormat, Object... args) {
}
@Override
public void logWarning(String tag, String stringFormat, Object... args) {
}
@Override
public void logError(String tag, String stringFormat, Object... args) {
}
@Override
public void handleException(String tag, Exception exception) {
}
});
Hope it helps!
Best regards,
Yura
- Yura Khariton answered 6 years ago
- You must login to post comments
Please login first to submit.