class documentation
class RiggedDailyLogFile(logfile.DailyLogFile):
Constructor: RiggedDailyLogFile(name, directory, defaultMode)
Undocumented
Method | to |
Convert a unixtime to (year, month, day) localtime tuple, or return the current (year, month, day) localtime tuple. |
Instance Variable | last |
Undocumented |
Method | _open |
Open the log file. |
Class Variable | _clock |
Undocumented |
Inherited from DailyLogFile
:
Method | __getstate__ |
Undocumented |
Method | get |
Given a unix time, return a LogReader for an old log file. |
Method | rotate |
Rotate the file and create a new one. |
Method | should |
Rotate when the date has changed since last write |
Method | suffix |
Return the suffix given a (year, month, day) tuple or unixtime |
Method | write |
Write some data to the log file |
Inherited from BaseLogFile
(via DailyLogFile
):
Class Method | from |
Construct a log file from a full file path. |
Method | __init__ |
Create a log file. |
Method | close |
Close the file. |
Method | flush |
Flush the file. |
Method | get |
Return a LogReader for the current log file. |
Method | reopen |
Reopen the log file. This is mainly useful if you use an external log rotation tool, which moves under your feet. |
Class Variable | synchronized |
Undocumented |
Instance Variable | closed |
Undocumented |
Instance Variable | default |
Undocumented |
Instance Variable | directory |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | path |
Undocumented |
Instance Variable | _file |
Undocumented |