1

Closed

Turn off Criterion Tracing

description

I am writing a console application which utilizes ZipFile, and eveyr time I call ZipFie.SelectEntries, I get Trace messages in my console output from DotNetZip.
 
internal abstract partial class SelectionCriterion { internal abstract bool Evaluate(string filename); [System.Diagnostics.Conditional("SelectorTrace")] protected void CriterionTrace(string format, params object[] args) { System.Console.WriteLine(" " + format, args); }
 
This appears to be the offending code... all the criterions write tracing output, even in the RELEASE build of DotNetZip.
 
How can I turn this off?
 
Thanks.
Closed Jun 14, 2011 at 5:00 AM by Cheeso
fixed in changeset 79088. First binary: v1.9.1.6

comments

Cheeso wrote Jun 14, 2011 at 4:56 AM

You can't turn it off. You can fix it in the DotNetZIp source code and rebuild it yourself. Also I can take this as a bug and fix it in the next release.