I am using VS2010 and I have many log (log4net) statements in my code.
if(Logger.IsDebugEnabled)
{
Logger.DebugFormat("varX = {0}", varX);
}
I do not want to add #regions, because the number of such registration blocks is very large. Is there a way to change the color of these lines to "Gray" to distinguish them from regular code?
Regards, Zach
source
share