Reputation: 9568
Is it possible to use the Logging Application Block of the Enterprise Library (version 5.0) to write log entries to a custom table in SQL Server ?
(edit) changed to 'custom table' because we want to report on specific log-columns...
Upvotes: 0
Views: 869
Reputation: 22655
I'm assuming you mean that you want to write log entries from your .NET code to a SQL Server database in order to centralize your log store.
If that is the case, then you can definitely do that. See Logging to a Database for more information.
Upvotes: 2
Reputation: 65391
The answer is yes :)
Same Link as Anders: http://msdn.microsoft.com/en-us/library/ff664569(v=pandp.50).aspx
SQL Server == Database
Upvotes: 1