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

Class MoSTBioDatLogParse

source code

object --+
         |
        MoSTBioDatLogParse

Instance Methods [hide private]
 
__init__(self, path='.', filename='log')
INPUT: path - str - directory path to log file, default='.' filename - str- log file name, default='log'
source code
 
findLog(self)
find logging file INPUT: class object OUTPUT:
source code
 
findLogLevel(self, level='INFO')
find logging level lines INPUT: object class level - str - logging level 'INFO', 'CRITICAL', 'FATAL', 'WARNING','DEBUG','NOTSET', default INFO OUTPUT:
source code
 
findIP(self, ip='127.0.0.1')
find IP lines in logging file INPUT: class object ip - str - default 172.0.0.1 OUTPUT:
source code
 
findUser(self, user='')
find user lines in logging file INPUT: class object user - str - if '' get current user OUTPUT:
source code
 
findModule(self, module='')
find module lines in logging file INPUT: class object module - str, default '' OUTPUT:
source code
 
findFunction(self, function='')
find function lines in logging file INPUT: class object function - str, default '' OUTPUT:
source code
 
findDate(self, date='')
find date lines in loggin file INPUT: class object date - str, default '', if '' get current date OUTPUT:
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, path='.', filename='log')
(Constructor)

source code 

INPUT: path - str - directory path to log file, default='.' filename - str- log file name, default='log'

Overrides: object.__init__