log_event.py
author Tero Marttila <terom@fixme.fi>
Sun, 08 Feb 2009 04:41:00 +0200
changeset 48 7858b7b8ffe3
parent 46 185504387370
permissions -rw-r--r--
fix bugs with file tailing
"""
    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