Is there a built in mechanism for logging to a file in BlogEngine?

Topics: Business Logic Layer
Jun 17, 2010 at 12:17 AM

I've been modifying an extension, the TwitterUpdate, to improve the functionality. Occasionaly, it throws an exception while posting a status update. Before I go writing a logging mechanism of my own to dump that data into, I'd like to know if such a feature exsists in BlogEngine.Net and if someone has some sample code.



Jun 17, 2010 at 1:05 AM

What version of BE are you on?

BE 1.6.1 (on the downloads page) has an extension file inside ~/App_Code called Logger.cs.

This can be extended to use what ever you wish. For instance, I made an EmailLogger extension which sends me emails during any exceptions.