Public Member Functions

contLogTest::TestLogLevelsComp Interface Reference

import "contLogTest_IF.idl";

Inheritance diagram for contLogTest::TestLogLevelsComp:
Inheritance graph
[legend]
Collaboration diagram for contLogTest::TestLogLevelsComp:
Collaboration graph
[legend]

List of all members.

Public Member Functions

LongSeq getLevels () raises (ACSErrTypeCommon::CouldntPerformActionEx)
void logDummyMessages (in LongSeq levels) raises (ACSErrTypeCommon::IllegalArgumentEx)

Member Function Documentation

LongSeq contLogTest::TestLogLevelsComp::getLevels (  )  raises (ACSErrTypeCommon::CouldntPerformActionEx)

Retrieves the log-levels (hardcoded, etc) of this component.

Returns:
Levels

void contLogTest::TestLogLevelsComp::logDummyMessages ( in LongSeq  levels  )  raises (ACSErrTypeCommon::IllegalArgumentEx)

Logs a series of dummy messages, one for each provided log level. The test client can then check what actually was printed to stdout or sent to the Log service, to see if log levels were applied correctly.

Parameters:
levels ACS core levels (e.g. 0, 2, 3, ...) for the messages to be logged.

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