Public Member Functions | List of all members
Logger Class Reference

Public Member Functions

def __init__ (self, fileName="log")
def getTimeStamp (self)
def log (self, entryString)
def resetStartTime (self)
def setTimeStamp (self, bool)

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  fileName = "log" 
Logger constructor

Member Function Documentation

◆ getTimeStamp()

def getTimeStamp (   self)
Return whether or not we are printing time stamps with log entries

◆ log()

def log (   self,
log(self, string)
Print the given string to the log file

◆ resetStartTime()

def resetStartTime (   self)
Reset the start time of the log file for time stamps

◆ setTimeStamp()

def setTimeStamp (   self,
Toggle time stamp printing with log entries on and off