mediawiki.log: Improve documentation
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 4 Apr 2017 21:50:41 +0000 (14:50 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 4 Apr 2017 21:52:39 +0000 (14:52 -0700)
commit291a82aa241fbfafdefc43b791b8ed46e3a83439
tree607ec180652a9b43be8b8425da7f0fbd3840a7f7
parent04c3f8dbc879c33cf5c2d686479e06037b919ba0
mediawiki.log: Improve documentation

* Clarify that all mw.log submethods use the native console
  when available and are otherwise no-ops. Their behaviour is
  not influenced by whether or not debug mode is enabled.

* Move mw.log() method doc to mediawiki.js and clarify that it
  is for verbose logging in debug mode (no-op in production mode).

Behaviour is not changed in this commit, only documentation.

Change-Id: Ie6e2382632654430dc57ee8c0a6222d6ad80663d
resources/src/mediawiki/mediawiki.js
resources/src/mediawiki/mediawiki.log.js