Logging with Enterprise Library 3.1

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello,
I use the Enterprise Library 3.1 to add log in my application using handler : [Microsoft.Practices.EnterpriseLibrary.PolicyInjection.CallHandlers.LogCallHandler(LogBeforeCall = false)]
That works great !
But I have a question : is it possible to manually add log to the same file ? Some times I would like to add trace in this file generated manually. I try to write directly in the file but its use "by an other process". Is there a solution using the entreprise
library ?
thank you for your help ! <hr class="sig Sebastien

View the full article
 
Back
Top