TestCenter Reference
TestCenterAdvanced.TestCase.LogCollector Class Reference

Allows collecting log messages and logging them later. More...

Inheritance diagram for TestCenterAdvanced.TestCase.LogCollector:
TestCenterAdvanced.TestCase.LogCollectorBase

Public Member Functions

 __init__ (self, testHelper=None)
 
 startLogCollect (self)
 
 stopLogCollect (self)
 
 logMessages (self, logHandler)
 
- Public Member Functions inherited from TestCenterAdvanced.TestCase.LogCollectorBase
 logHandler (self)
 
 collect (self)
 
 clearState (self)
 

Public Attributes

 messageCache
 
 log
 
- Public Attributes inherited from TestCenterAdvanced.TestCase.LogCollectorBase
 hasWarnings
 
 hasErrors
 

Additional Inherited Members

- Protected Attributes inherited from TestCenterAdvanced.TestCase.LogCollectorBase
 _testHelper
 

Detailed Description

Allows collecting log messages and logging them later.

Keeps the logging state during log collection.

Definition at line 103 of file TestCase.py.

Constructor & Destructor Documentation

◆ __init__()

TestCenterAdvanced.TestCase.LogCollector.__init__ (   self,
  testHelper = None 
)

Member Function Documentation

◆ logMessages()

◆ startLogCollect()

◆ stopLogCollect()

Member Data Documentation

◆ log

TestCenterAdvanced.TestCase.LogCollector.log

◆ messageCache

TestCenterAdvanced.TestCase.LogCollector.messageCache

The documentation for this class was generated from the following file: