title: scribe js error - console.log not defined
body: <p>I was using scribe js like</p>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>var scribe = require('scribe-js')();
  var console=process.console;
  app.use(scribe.express.logger());
  app.use('/logs', scribe.webPanel());
  </code></pre>
  
  <p>and in my</p>
  
  <p><strong>module.js</strong></p>
  
  <pre><code>var like = 0;
  var error=require('./error');
  var console=process.console;  &lt;-- this line
  //only works if i comment above line
  //else it shows console not defined
  
  var like_dislike = {
      like: function(req, res, next) {
          like++;
          console.log(process.console);
          console.log("Like:" + like + " ClientTime:" + req.query.timestamp);
          res.sendStatus(200)
      }
  }
  module.exports=like_dislike
  </code></pre>
  
  <p>Any Idea, atleast where to start looking to resolve this ?</p>
  
  <p>Thanks</p>
  
  <p>EDIT
  error.js</p>
  
  <pre><code>function error(res, custom_error, actual_error) {
      if (actual_error)
          console.error(actual_error);
      res.status(custom_error.status).send(custom_error.text);
  }
  module.exports=error;
  </code></pre>