hydrogen 1.2.3
Logger::CrashContext Class Reference

Helper class to preserve and restore recursive crash context strings using an RAAI pattern. More...

#include <Logger.h>

Public Member Functions

 CrashContext (QString *pContext)
 
 CrashContext (QString sContext)
 
 ~CrashContext ()
 

Private Attributes

QString * pSavedContext
 
QString * pThisContext
 

Detailed Description

Helper class to preserve and restore recursive crash context strings using an RAAI pattern.

Definition at line 140 of file Logger.h.

Constructor & Destructor Documentation

◆ CrashContext() [1/2]

CrashContext ( QString * pContext)

Definition at line 288 of file Logger.cpp.

◆ CrashContext() [2/2]

CrashContext ( QString sContext)

Definition at line 294 of file Logger.cpp.

◆ ~CrashContext()

Definition at line 301 of file Logger.cpp.

Field Documentation

◆ pSavedContext

QString* pSavedContext
private

Definition at line 141 of file Logger.h.

◆ pThisContext

QString* pThisContext
private

Definition at line 142 of file Logger.h.