Wikia/app — pull request #237 by federico-lox (2012-12-10 14:01:53+00:00)
Title: Improvements to log module

So here's the deal:

* added core UMD modules to Monobook (they were missing)
* made $().log use Wikia.log removing the duplicated implementation
* it defaults to the "info" log level (i.e. 3)
* now to see the logs one needs to add the log_level querystring apram (I'll send an email to techteam once this is merged)
* now by default a lot less stuff gets printed out which speeds up oasis/monobook at the beginning of the page load
* small changes to log.js
* removed ancient code to support ancient versions of Opera (dated back to 2009!!!)
* documentation header with examples, YAY!
* if iOS is detected then print it out correctly, so now adEngs can quickly debug iPad + Oasis and mobile team the mobile skin + iPhone
* exposed the levels hash to the outside world, so we can do Wikia.log('asd', Wikia.log.levels.info) and forget about magic numbers
* minor optimizations

@macbre @nefretete @hakubo, I'd appreciate if you guys could take a look :)