Developer forum

Forum » Development » IndexBuilderExtender log to Diagnostics

IndexBuilderExtender log to Diagnostics

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I have an IndexBuilderExtender and would like to log towards Diagnostics to determine when a certain condition is met (I know I need to be careful not to do it for every instance).

 

Is there a way for me to do that?

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer
System.Diagnostics.LogManager.System.GetLogger(LogCategory.Application, "Nuno").Error(message, ex)/Info/etc;
Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Thanks Nicolai

 

You must be logged in to post in the forum