Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
TestLogger Class Reference

Helper class for unit tests - captures all log output, and returns it as a single string. More...

#include <CLogger.h>

Collaboration diagram for TestLogger:

Public Member Functions

 TestLogger ()
 
std::string GetOutput ()
 

Private Attributes

std::stringstream m_Stream
 
CLogger::ScopedReplacement m_ScopedReplacement
 

Detailed Description

Helper class for unit tests - captures all log output, and returns it as a single string.

Constructor & Destructor Documentation

◆ TestLogger()

TestLogger::TestLogger ( )

Member Function Documentation

◆ GetOutput()

std::string TestLogger::GetOutput ( )

Member Data Documentation

◆ m_ScopedReplacement

CLogger::ScopedReplacement TestLogger::m_ScopedReplacement
private

◆ m_Stream

std::stringstream TestLogger::m_Stream
private

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