Package dogtail :: Module logging :: Class ResultsLogger
[hide private]
[frames] | no frames]

Class ResultsLogger

source code

Logger --+
         |
        ResultsLogger

Writes entries into the Dogtail log

Instance Methods [hide private]
 
__init__(self, stdOut=True)
name: the name of the log file: The file object to log to.
source code
 
log(self, entry)
Writes the log entry.
source code

Inherited from Logger: createFile, findUniqueName

Class Variables [hide private]

Inherited from Logger: stamper

Method Details [hide private]

__init__(self, stdOut=True)
(Constructor)

source code 

name: the name of the log file: The file object to log to. stdOut: Whether to log to standard out.

Overrides: Logger.__init__
(inherited documentation)

log(self, entry)

source code 

Writes the log entry. Requires a 1 {key: value} pair dict for an argument or else it will throw an exception.

Overrides: Logger.log