--- a/log_line.py Mon Feb 09 07:32:11 2009 +0200
+++ b/log_line.py Mon Feb 09 11:05:53 2009 +0200
@@ -15,6 +15,9 @@
An event on some specific channel
"""
+ # the offset, only garunteed to be unique for a specific channel and date
+ offset = None
+
# the event type, as defiend in LogTypes
type = None
@@ -27,11 +30,12 @@
# associated data (message, etc)
data = None
- def __init__ (self, type, timestamp, source, data) :
+ def __init__ (self, offset, type, timestamp, source, data) :
"""
Initialize with given values
"""
-
+
+ self.offset = offset
self.type = type
self.timestamp = timestamp
self.source = source