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
# 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 = []