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

Method __init__

logparser/Logram/src/Logram.py:24–38  ·  view source on GitHub ↗
(
        self,
        log_format,
        indir="./",
        outdir="./result/",
        doubleThreshold=15,
        triThreshold=10,
        rex=[],
    )

Source from the content-addressed store, hash-verified

22
23class LogParser:
24 def __init__(
25 self,
26 log_format,
27 indir="./",
28 outdir="./result/",
29 doubleThreshold=15,
30 triThreshold=10,
31 rex=[],
32 ):
33 self.indir = indir
34 self.outdir = outdir
35 self.doubleThreshold = doubleThreshold
36 self.triThreshold = triThreshold
37 self.log_format = log_format
38 self.rex = rex
39
40 def parse(self, log_file_basename):
41 log_file = os.path.join(self.indir, log_file_basename)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected