MCPcopy Create free account
hub / github.com/logpai/logparser / LogParser

Class LogParser

logparser/SLCT/src/SLCT.py:26–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26class LogParser(object):
27 def __init__(
28 self, indir, outdir, log_format, support, para_j=True, saveLog=False, rex=[]
29 ):
30 self.outdir = outdir
31 self.log_format = log_format
32 self.rex = rex
33 self.para = {}
34 self.para["dataPath"] = indir
35 self.para["para_j"] = para_j
36 self.para["savePath"] = outdir
37 self.para["support"] = support
38 self.para["saveLog"] = saveLog
39
40 def parse(self, logname):
41 self.para["dataName"] = logname
42 SLCT(self.para, self.log_format, self.rex)
43
44
45def SLCT(para, log_format, rex):

Callers 2

benchmark.pyFile · 0.90
demo.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected