already unpacked logs * started to disect log parsers for using streams in future * Qt Client started * logstream planned.
24 lines
527 B
Python
24 lines
527 B
Python
|
|
L_CMBT = 'CMBT'
|
|
L_WARNING = 'WARNING'
|
|
L_NET = 'NET'
|
|
L_CHAT = 'CHAT'
|
|
|
|
class Log(object):
|
|
__slots__ = ['matcher', 'trash', 'reviewed']
|
|
matcher = None
|
|
trash = False
|
|
reviewed = False
|
|
|
|
@classmethod
|
|
def is_handler(cls, log):
|
|
return False
|
|
|
|
def unpack(self, force=False):
|
|
''' unpacks this log from its data and saves values '''
|
|
pass
|
|
|
|
def explain(self):
|
|
''' returns a String readable by humans explaining this Log '''
|
|
return ''
|