scon/logs/base.py
Gabor Guzmics e43065cc00 * implemented chat protocol, explanation mechanics, reviewed marker for
already unpacked logs
* started to disect log parsers for using streams in future
* Qt Client started
* logstream planned.
2015-04-10 20:33:55 +02:00

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 ''