dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c525af5
)
Tweak debug() to use name of class in debug output
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 3 Mar 2011 12:52:30 +0000
(12:52 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 3 Mar 2011 12:52:30 +0000
(12:52 +0000)
includes/objectcache/BagOStuff.php
patch
|
blob
|
history
diff --git
a/includes/objectcache/BagOStuff.php
b/includes/objectcache/BagOStuff.php
index
adb6abc
..
cfb38a1
100644
(file)
--- a/
includes/objectcache/BagOStuff.php
+++ b/
includes/objectcache/BagOStuff.php
@@
-129,7
+129,8
@@
abstract class BagOStuff {
public function debug( $text ) {
if ( $this->debugMode ) {
- wfDebug( "BagOStuff debug: $text\n" );
+ $class = get_class( $this );
+ wfDebug( "$class debug: $text\n" );
}
}