SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0
0

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

Version
2.2.0.2324
  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+