Package install :: Package MoSTBioDat :: Package Log :: Module MoSTBioDatLog :: Class MoSTBioDatLog
[hide private]
[frames] | no frames]

Class MoSTBioDatLog

source code

object --+
         |
        MoSTBioDatLog

main MoSTBioDat logging module INPUT: format - str - logging file format, default "%(levelname)s %(asctime)s %(ip)s %(username)s %(filename)s %(module)s %(funcName)s %(lineno)d >> %(message)s " filter - specified record to be logged datefmt - str - date format path - str - path to log files filename - str - log filename, default 'log' filemode - str - log file mode, default 'wa' level - str - logging level, default logging.DEBUG logfilelevel - log file level temporary - str - temporary directory

Instance Methods [hide private]
 
__init__(self, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
setup(self) source code
 
createlog(self)
create log file INPUT: class object OUTPUT:
source code
 
getLogHandler(self)
get log handler INPUT: class object OUTPUT:
source code
 
rmLogHandler(self)
remove log handler INPUT: class object OUTPUT:
source code
 
setLevel(self, levelType)
set log level INPUT: class object levelType - str - logging levels
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)