DDraceNetwork Docs
CLogScope Class Reference

#include <logger.h>

Collaboration diagram for CLogScope:
[legend]

Public Member Functions

 CLogScope (ILogger *logger)
 
 ~CLogScope ()
 

Private Attributes

ILoggerold_scope_logger
 
ILoggernew_scope_logger
 

Detailed Description

RAII guard for temporarily changing the logger via log_set_scope_logger.

See also
log_set_scope_logger

Constructor & Destructor Documentation

◆ CLogScope()

CLogScope::CLogScope ( ILogger logger)
inline

◆ ~CLogScope()

CLogScope::~CLogScope ( )
inline

Member Data Documentation

◆ new_scope_logger

ILogger* CLogScope::new_scope_logger
private

◆ old_scope_logger

ILogger* CLogScope::old_scope_logger
private

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