Public Member Functions | List of all members
GarbageLogger Class Reference
Inheritance diagram for GarbageLogger:
GarbageReport Job DirectObject

Public Member Functions

def __init__ (self, name, *args, **kArgs)
- Public Member Functions inherited from GarbageReport
def __init__ (self, name, log=True, verbose=False, fullReport=False, findCycles=True, threaded=False, doneCallback=None, autoDestroy=False, priority=None, safeMode=False, delOnly=False, collect=True)
def destroy (self)
def finished (self)
def getDesc2numDict (self)
def getGarbage (self)
def getNumCycles (self)
def getReport (self)
def run (self)
- Public Member Functions inherited from Job
def __init__ (self, name)
def getFinishedEvent (self)
def getJobName (self)
def getPriority (self)
def isFinished (self)
def printingBegin (self)
def printingEnd (self)
def resume (self)
def setPriority (self, priority)
def suspend (self)
- Public Member Functions inherited from DirectObject
def __init__ (self)
def accept (self, event, method, extraArgs=[])
def acceptOnce (self, event, method, extraArgs=[])
def addTask (self, *args, **kwargs)
def detectLeaks (self)
def doMethodLater (self, *args, **kwargs)
def getAllAccepting (self)
def ignore (self, event)
def ignoreAll (self)
def isAccepting (self, event)
def isIgnoring (self, event)
def removeAllTasks (self)
def removeTask (self, taskOrName)

Additional Inherited Members

- Public Attributes inherited from GarbageReport
- Static Public Attributes inherited from GarbageReport
 notify = directNotify.newCategory("GarbageReport")
- Static Public Attributes inherited from Job
 Continue = None
 Done = object()
 Priorities = ScratchPad(Min=1, Low=100, Normal=1000, High=10000)
 Sleep = object()
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
def add_task = addTask
def detect_leaks = detectLeaks
def do_method_later = doMethodLater
def get_all_accepting = getAllAccepting
def ignore_all = ignoreAll
def is_accepting = isAccepting
def is_ignoring = isIgnoring
def remove_all_tasks = removeAllTasks
def remove_task = removeTask

Detailed Description

If you just want to log the current garbage to the log file, make
one of these. It automatically destroys itself after logging

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
**  kArgs