# Logger

from direct.directnotify.Logger import Logger

## Inheritance:

Logger:

## Methods of Logger:

__closeLogFile
__getTimeStamp
__init__
__openLogFile
getTimeStamp
log
resetStartTime
setTimeStamp

__closeLogFile def __closeLogFile(self) Close the error/warning output file

__getTimeStamp def __getTimeStamp(self) Return the offset between current time and log file startTime

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

__openLogFile def __openLogFile(self) Open a file for logging error/warning messages

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

log def log(self, entryString) 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, bool) Toggle time stamp printing with log entries on and off