A class to handle reporting. Set the fileo attribute to any file
instance to handle the output. Default is sys.stdout
|
__init__(self,
level)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
setLevel(self,
level)
set the verbosity to one of the Verbose.levels strings |
source code
|
|
|
report(self,
s,
level=' helpful ' )
print message s to self.fileo if self.level>=level. |
source code
|
|
|
|
|
wrap(self,
fmt,
func,
level=' helpful ' ,
always=True)
return a callable function that wraps func and reports it output
through the verbose handler if current verbosity level is higher than
level |
source code
|
|
|
ge(self,
level)
return true if self.level is >= level |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|