Remove inappropriate class variables, add instance variable documentation
[rarslave2.git] / RarslaveLogger.py
index d60b105..ae39913 100644 (file)
@@ -8,6 +8,12 @@ class MessageType (object):
        Debug = 2
 
 class RarslaveMessage (object):
+
+       # Instance Variables:
+       # ==========================================================================
+       # msg   -- The message to be printed
+       # type  -- The type of message (Fatal, Normal, Verbose, or Debug)
+
        def __init__ (self, msg, type=MessageType.Normal):
                self.msg = msg
                self.type = type
@@ -31,6 +37,10 @@ class RarslaveLogger (object):
        # This class will log multiple messages, one for each set that is operated on.
        # It will then be able to print all of them out.
 
+       # Instance Variables:
+       # ==========================================================================
+       # __messages    -- The list of RarslaveMessage()s to be printed later.
+
        def __init__ (self):
                self.__messages = []