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

Class ResultsLogger

source code

object --+    
         |    
    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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from Logger: stamper

Properties [hide private]

Inherited from object: __class__

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: object.__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