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


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

log(self, string)[source]

Print the given string to the log file


Reset the start time of the log file for time stamps

setTimeStamp(self, enable)[source]

Toggle time stamp printing with log entries on and off