We are using following API call to log exceptions from our application. Services.Get<CSLogger>().WriteError(internalMessage, exception); .Problem is that error is always fall into UnknownError exception type.Is there any way we can define our own exception type other than telligent default exception type for error logging.
A few notes regarding this request:
1. Use of Services.Get<> or any code accessing a Telligent assembly not referencing code exclusively within the Telligent.Evolution.Extensibility namespace is not supported and could break between versions. The upgrade safe API is within the Telligent.Evolution.Extensibility namespace.
2. Any exception that you throw will be caught and logged, it is better to just through the exception and let Telligent handle the logging.
3. To handle other events and to write directly to the event log, you can use the EventLog API: https://community.telligent.com/community/10/w/api-documentation/60566/eventlog-in-process-api-service