title: How to instruct Ajax Minifier to remove console.log from javascript
body: <p>I have lines in my js files like this</p>
  
  <pre><code>console.log('FunctionName()');
  </code></pre>
  
  <p>The default Ajax Minifier settings do not remove these lines from the .min.js output.</p>
  
  <p>I noticed in this discussion a <a href="http://ajaxmin.codeplex.com/discussions/260685">conversation about Kill switches</a>.</p>
  
  <p>Looking at the Kill Switch <a href="http://ajaxmin.codeplex.com/wikipage?title=JavaScript%20Kill%20Switches">page here</a>. I noticed there is this switch:</p>
  
  <pre><code>/// &lt;summary&gt;
  /// remove "debug" statements
  /// &lt;/summary&gt;
  StripDebugStatements = 0x0000000000800000,
  </code></pre>
  
  <p>I am not using the command line, I am referencing the DLL. This is how I have implemented it.</p>
  
  <pre><code>CodeSettings jsSettings = new CodeSettings()
              {
                  KillSwitch = 800000,
              };
  </code></pre>
  
  <p>and then later the actual minifier method.</p>
  
  <pre><code>string fileMinified = minifier.MinifyJavaScript(fileSource, jsSettings);
  </code></pre>
  
  <p>How can i remove console.log()?</p>