mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
changed debugCall()
This commit is contained in:
parent
11e50186d4
commit
820c8297f5
@ -218,10 +218,12 @@ class Notifier:
|
|||||||
|
|
||||||
def debugCall(self, debugString=''):
|
def debugCall(self, debugString=''):
|
||||||
"""
|
"""
|
||||||
|
If this notify is in debug mode, print the time of the
|
||||||
|
call followed by the notifier category and
|
||||||
|
the function call (with parameters).
|
||||||
"""
|
"""
|
||||||
if (self.__debug):
|
if (self.__debug):
|
||||||
string = ":%s %s %s.%s %s"%(
|
string = ":%s %s %s.%s"%(
|
||||||
self.getOnlyTime(),
|
self.getOnlyTime(),
|
||||||
debugString,
|
debugString,
|
||||||
self.__name,
|
self.__name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user