sites/irclogs.qmsk.net/log_event.py
changeset 46 73aef9705d6c
parent 45 e94ab812c0c8
child 47 2cceeb731950
equal deleted inserted replaced
45:e94ab812c0c8 46:73aef9705d6c
     1 """
       
     2     An IRC logfile consists of a series of events, a.k.a. "lines"
       
     3 """
       
     4 
       
     5 class LogEvent (object) :
       
     6     """
       
     7         An event on some specific channel
       
     8     """
       
     9 
       
    10     # the event ype
       
    11     type = None
       
    12 
       
    13     # the UTC timestamp of the event
       
    14     timestamp = None
       
    15 
       
    16     # the event source
       
    17     source = None
       
    18 
       
    19     # associated data (message, etc)
       
    20     data = None
       
    21