}
if ( isset( self::$autoloadLocalClassesLower[$lowerClass] ) ) {
- if ( function_exists( 'wfDebug' ) ) {
- wfDebug( "Class {$className} was loaded using incorrect case.\n" );
+ if ( function_exists( 'wfDebugLog' ) ) {
+ wfDebugLog( 'autoloader', "Class {$className} was loaded using incorrect case" );
}
$filename = self::$autoloadLocalClassesLower[$lowerClass];
}
}
if ( !$filename ) {
- if ( function_exists( 'wfDebug' ) ) {
+ if ( function_exists( 'wfDebugLog' ) ) {
# FIXME: This is not very polite. Assume we do not manage the class.
- wfDebug( "Class {$className} not found; skipped loading\n" );
+ wfDebugLog( 'autoloader', "Class {$className} not found; skipped loading" );
}
# Give up
$parserMemc = wfGetParserCacheStorage();
$wgLangConvMemc = wfGetLangConverterCacheStorage();
-wfDebug( 'CACHES: ' . get_class( $wgMemc ) . '[main] ' .
+wfDebugLog( 'caches', get_class( $wgMemc ) . '[main] ' .
get_class( $messageMemc ) . '[message] ' .
- get_class( $parserMemc ) . "[parser]\n" );
+ get_class( $parserMemc ) . '[parser]' );
wfProfileOut( $fname . '-memcached' );