log_event.py
changeset 46 185504387370
parent 41 9585441a4bfb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/log_event.py	Sun Feb 08 03:23:25 2009 +0200
@@ -0,0 +1,21 @@
+"""
+    An IRC logfile consists of a series of events, a.k.a. "lines"
+"""
+
+class LogEvent (object) :
+    """
+        An event on some specific channel
+    """
+
+    # the event ype
+    type = None
+
+    # the UTC timestamp of the event
+    timestamp = None
+
+    # the event source
+    source = None
+
+    # associated data (message, etc)
+    data = None
+