title: How to disable console.log messages based on criteria from specific javascript source (method, file) or message contents
body: <p>I am working on project that uses quite a few js libraries and one of them is outputting awful lot into console, it is polluting the airwaves so bad that it makes it hard to debug....</p>
  
  <p><a href="https://stackoverflow.com/questions/1215392/how-to-quickly-and-conveniently-disable-all-console-log-statements-in-my-code">I know how to disable logging</a> completely by overriding <code>console.log</code> with this, </p>
  
  <pre><code>(function (original) {
      console.enableLogging = function () {
          console.log = original;
      };
      console.disableLogging = function () {
          console.log = function () {};
      };
  })(console.log);
  </code></pre>
  
  <p>but <strong>how do it do that per source(file/url) of where message originated?</strong></p>