log_event.py
changeset 50 f13cf27a360b
parent 49 aaa62c8e5bd5
child 51 07ca28f3a9f2
equal deleted inserted replaced
49:aaa62c8e5bd5 50:f13cf27a360b
     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