branch | sites |
changeset 41 | 9585441a4bfb |
child 42 | 5a72c00c4ae4 |
40:71ab68f31a1c | 41:9585441a4bfb |
---|---|
1 """ |
|
2 A channel represents a series of log events, stored in some log source |
|
3 """ |
|
4 |
|
5 class LogChannel (object) : |
|
6 """ |
|
7 A single IRC channel, logged to some specific place |
|
8 """ |
|
9 |
|
10 def __init__ (self, id, network, name, source) : |
|
11 """ |
|
12 Initialize this channel from the given identifier key, network name, channel name, and LogSource |
|
13 """ |
|
14 |
|
15 self.id = id |
|
16 self.network = network |
|
17 self.name = name |
|
18 self.source = source |
|
19 |