public void TraceException(string message, Exception exception) { if (_logger != null) { _logger.TraceException(message, exception); } }