Package madgraph :: Package various :: Module misc :: Class MuteLogger
[hide private]
[frames] | no frames]

Class MuteLogger

source code

object --+
         |
        MuteLogger

mute_logger (designed to work as with statement), files allow to redirect the output of the log to a given file.

Instance Methods [hide private]
 
__init__(self, names, levels, files=None, **opt)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__enter__(self) source code
 
__exit__(self, ctype, value, traceback) source code
 
setup_logFile_for_logger(self, path, full_logname, **opts)
Setup the logger by redirecting them all to logfiles in tmp
source code
 
restore_logFile_for_logger(self, full_logname, level, path=None, **opts)
Setup the logger by redirecting them all to logfiles in tmp
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, names, levels, files=None, **opt)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)