#include <Logger.h>
Public Member Functions | |
DiagnosticContext (const char *fn_, u_long mask_=TRACE) | |
~DiagnosticContext () | |
Private Member Functions | |
DiagnosticContext (const DiagnosticContext &) | |
DiagnosticContext & | operator= (const DiagnosticContext &) |
Private Attributes | |
const char * | m_fname |
u_long | m_mask |
Definition at line 379 of file Logger.h.
ASSA::DiagnosticContext::DiagnosticContext | ( | const char * | fn_, | |
u_long | mask_ = TRACE | |||
) | [inline] |
Definition at line 396 of file Logger.h.
References ASSA::FUNC_ENTRY, LOGGER, m_fname, and m_mask.
00397 : m_fname (fn_), m_mask (mask_) 00398 { 00399 if (LOGGER->group_enabled ((ASSA::Group) m_mask)) { 00400 LOGGER->sign_on (m_fname); 00401 LOGGER->log_func (m_mask, FUNC_ENTRY); 00402 } 00403 }
ASSA::DiagnosticContext::~DiagnosticContext | ( | ) | [inline] |
ASSA::DiagnosticContext::DiagnosticContext | ( | const DiagnosticContext & | ) | [private] |
DiagnosticContext& ASSA::DiagnosticContext::operator= | ( | const DiagnosticContext & | ) | [private] |
const char* ASSA::DiagnosticContext::m_fname [private] |
u_long ASSA::DiagnosticContext::m_mask [private] |
Definition at line 391 of file Logger.h.
Referenced by DiagnosticContext(), and ~DiagnosticContext().