New 'profileerror' log group for profiling errors
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 15 Mar 2014 20:43:39 +0000 (21:43 +0100)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sat, 15 Mar 2014 20:43:39 +0000 (21:43 +0100)
commit811a084abfedf2a5a797911c6a988b881f7d8b10
tree582c3bc79c7b3623527ec48e490d6d581f82d679
parentc9c8d2de86384916724319cc5f8fb9c21428c0e6
New 'profileerror' log group for profiling errors

Easier to catch them than if they are in the default debug log.

Added Profiler::debugGroup() as wrapper to wfDebugLog(), as
there already is Profiler::debug() for wfDebug(), so that
there won't be a fatal error if the error happens before the
inclusion of GlobalFunctions.php and converted other calls
to wfDebugLog() to use it.

Change-Id: Ie8481a2e13a94efa0248dd5a36b6b1a22811817e
includes/profiler/Profiler.php
includes/profiler/ProfilerMwprof.php
includes/profiler/ProfilerSimple.php