Home | Trees | Index | Help |
|
---|
Package g4ds :: Module g4dslogging :: Class FileLogger |
|
All messages are equipped with a timestamp and line wise written to a log file.
Addtionally, this class supports logging into syslog facilities.Method Summary | |
---|---|
Open the log file. | |
Shutdown logging. | |
List of String
|
Returns the last 'n' lines of the log file. |
New entry for the log system. |
Method Details |
---|
__init__(self)
|
closedown(self)Shutdown logging. Put a log message in the log file for closing down g4ds logging and finally close the log file. |
getLatestMessages(self, n)Returns the last 'n' lines of the log file.
|
newMessage(self, category, message)New entry for the log system. A check is performed, whether the given category is to be logged in the activated log level. If so, a message is generated, made up by a time stamp, the category value and the message itself. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Oct 22 22:52:47 2005 | http://epydoc.sf.net |