I am working on a solution that is comprised of several different
applications - Windows Services, Web Services, and
ASP.NET Apps. Each
of these reference class libraries containing common application
logic. I would like to implement a logging solution that logs all of
these applications into a central SQL server database, so that we can
monitor the entire solution. I like ELMAH's reporting capabilities,
and would use those in a central "System Log"
ASP.NET app, but I am
unclear on the best way to log errors in the non-ASP apps (windows
service and the class libraries, which could run in either context).
Is there any guidance for using ELMAH outside of
ASP.NET?
Thanks!