gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 

Detailed Description

Temporarily redirects cerr to gtestLogOutput.

Definition at line 38 of file logging.test.cc.

Member Function Documentation

◆ SetUp()

void LoggingFixture::SetUp ( )
inlineoverride

Definition at line 41 of file logging.test.cc.

References gem5::gtestLogOutput, and old.

◆ TearDown()

void LoggingFixture::TearDown ( )
inlineoverride

Definition at line 42 of file logging.test.cc.

References old.

Member Data Documentation

◆ old

std::streambuf* LoggingFixture::old
private

Used to restore cerr's streambuf.

Definition at line 46 of file logging.test.cc.

Referenced by SetUp(), and TearDown().


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

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0