equal
deleted
inserted
replaced
13 class LogLine (object) : |
13 class LogLine (object) : |
14 """ |
14 """ |
15 An event on some specific channel |
15 An event on some specific channel |
16 """ |
16 """ |
17 |
17 |
|
18 # the offset, only garunteed to be unique for a specific channel and date |
|
19 offset = None |
|
20 |
18 # the event type, as defiend in LogTypes |
21 # the event type, as defiend in LogTypes |
19 type = None |
22 type = None |
20 |
23 |
21 # the UTC timestamp of the event |
24 # the UTC timestamp of the event |
22 timestamp = None |
25 timestamp = None |
25 source = None |
28 source = None |
26 |
29 |
27 # associated data (message, etc) |
30 # associated data (message, etc) |
28 data = None |
31 data = None |
29 |
32 |
30 def __init__ (self, type, timestamp, source, data) : |
33 def __init__ (self, offset, type, timestamp, source, data) : |
31 """ |
34 """ |
32 Initialize with given values |
35 Initialize with given values |
33 """ |
36 """ |
34 |
37 |
|
38 self.offset = offset |
35 self.type = type |
39 self.type = type |
36 self.timestamp = timestamp |
40 self.timestamp = timestamp |
37 self.source = source |
41 self.source = source |
38 self.data = data |
42 self.data = data |
39 |
43 |