gem5  v21.2.1.1
Public Member Functions | Private Attributes | List of all members
LoggingFixture Class Reference

Temporarily redirects cerr to gtestLogOutput. More...

Inheritance diagram for LoggingFixture:

Public Member Functions

void SetUp () override
void TearDown () override

Private Attributes

std::streambuf * old
 Used to restore cerr's streambuf. More...

Detailed Description

Temporarily redirects cerr to gtestLogOutput.

Definition at line 38 of file

Member Function Documentation

◆ SetUp()

void LoggingFixture::SetUp ( )

Definition at line 41 of file

References gem5::gtestLogOutput.

◆ TearDown()

void LoggingFixture::TearDown ( )

Definition at line 42 of file

Member Data Documentation

◆ old

std::streambuf* LoggingFixture::old

Used to restore cerr's streambuf.

Definition at line 46 of file

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

Generated on Wed May 4 2022 12:14:25 for gem5 by doxygen 1.8.17