Error Logging

Hello guys, so i was asked to create a mechanism for logging eventual errors or crashes with monogame and the rest of the application.

I was wondering how you guys handle this.
What would be the best method?
Should I just offer an event that reports errors? Or do the logging inside the engine environment, (it is not a game, so the application that uses monogame is actually a drawing dll that uses monogame).

I know this is not really related with monogame at all, but i know that somebody had to this for themselves, so i’m looking for opinions with “experience” :stuck_out_tongue:

Thanks in advance, Roger.