EDN Admin
Well-known member
Hi
As part of an open source community, I am migrating C# 2.0 to C# 3.5, the C# 2.0 uses log4net whereas I want to use Enterprise Library 5.0 for error logging. I downloaded EnterpriseLibrary.Logging from NuGet (using NuGet.exe 2.2 version). I want to write the error logs to a file.
Can you please help with the configuration section? Googling didnt help as there were different versions of the configuration setting. I want the correct configuration for the latest 5.0 version of the Enterprise Library. Looks like theres a tool to set the config, however theres no help on how to use the tool.
Just want to write exception logs to a text file specified in the App.config or Web.config file. Please help with your expert inputs.
Thanks
View the full article
As part of an open source community, I am migrating C# 2.0 to C# 3.5, the C# 2.0 uses log4net whereas I want to use Enterprise Library 5.0 for error logging. I downloaded EnterpriseLibrary.Logging from NuGet (using NuGet.exe 2.2 version). I want to write the error logs to a file.
Can you please help with the configuration section? Googling didnt help as there were different versions of the configuration setting. I want the correct configuration for the latest 5.0 version of the Enterprise Library. Looks like theres a tool to set the config, however theres no help on how to use the tool.
Just want to write exception logs to a text file specified in the App.config or Web.config file. Please help with your expert inputs.
Thanks
View the full article