Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Logger Class Reference

## Public Member Functions
| __init__ (self, fileName="log")
| getTimeStamp (self)
| log (self, entryString)
| resetStartTime (self)
| setTimeStamp (self, bool)

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | fileName = "log" )

    Logger constructor

## Member Function Documentation

## ◆ getTimeStamp()

getTimeStamp | ( |  | self | ) |

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

## ◆ log()

log | ( |  | self,
|  |  | entryString )

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

## ◆ resetStartTime()

resetStartTime | ( |  | self | ) |

    Reset the start time of the log file for time stamps

## ◆ setTimeStamp()

setTimeStamp | ( |  | self,
|  |  | bool )

    Toggle time stamp printing with log entries on and off