direct.directnotify.Logger

from direct.directnotify.Logger import Logger

Logger module: contains the logger class which creates and writes data to log files on disk

Inheritance diagram

Inheritance diagram of direct.directnotify.Logger

class Logger(fileName='log')[source]

Bases: object

__init__(self, fileName='log')[source]

Logger constructor

getTimeStamp(self)[source]

Return whether or not we are printing time stamps with log entries

log(self, string)[source]

Print the given string to the log file

resetStartTime(self)[source]

Reset the start time of the log file for time stamps

setTimeStamp(self, bool)[source]

Toggle time stamp printing with log entries on and off