Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cLogEventParams Class Reference

#include <cLogAppender.h>

Inheritance diagram for Gray::cLogEventParams:
Gray::cLogEvent

Public Member Functions

 cLogEventParams (LOG_ATTR_MASK_t uAttrMask=LOG_ATTR_0, LOGLEV_TYPE eLogLevel=LOGLEV_TRACE)
 
LOG_ATTR_MASK_t get_LogAttrMask () const
 
void put_LogAttrMask (LOG_ATTR_MASK_t uAttrMask)
 
bool IsLogAttrMask (LOG_ATTR_MASK_t uAttrMask) const
 
LOGLEV_TYPE get_LogLevel () const
 
void put_LogLevel (LOGLEV_TYPE eLogLevel)
 
bool IsLoggedLevel (LOGLEV_TYPE eLogLevel) const
 
bool IsLogged (LOG_ATTR_MASK_t uAttrMask, LOGLEV_TYPE eLogLevel) const
 

Protected Attributes

LOG_ATTR_MASK_t m_uAttrMask
 Special attributes for the event. (regardless of level) similar to pszSubject? More...
 
LOGLEV_TYPE m_eLogLevel
 Min Importance level to see. 0 = LOGLEV_ANY = not important. More...
 

Detailed Description

Filterable Parameters associated with a particular log event instance.

Constructor & Destructor Documentation

◆ cLogEventParams()

Gray::cLogEventParams::cLogEventParams ( LOG_ATTR_MASK_t  uAttrMask = LOG_ATTR_0,
LOGLEV_TYPE  eLogLevel = LOGLEV_TRACE 
)
inline

Member Function Documentation

◆ get_LogAttrMask()

LOG_ATTR_MASK_t Gray::cLogEventParams::get_LogAttrMask ( ) const
inline

◆ get_LogLevel()

LOGLEV_TYPE Gray::cLogEventParams::get_LogLevel ( ) const
inline

Min level to show.

◆ IsLogAttrMask()

bool Gray::cLogEventParams::IsLogAttrMask ( LOG_ATTR_MASK_t  uAttrMask) const
inline

◆ IsLogged()

bool Gray::cLogEventParams::IsLogged ( LOG_ATTR_MASK_t  uAttrMask,
LOGLEV_TYPE  eLogLevel 
) const
inline

◆ IsLoggedLevel()

bool Gray::cLogEventParams::IsLoggedLevel ( LOGLEV_TYPE  eLogLevel) const
inline

level = LOGLEV_INFO (higher is more important

◆ put_LogAttrMask()

void Gray::cLogEventParams::put_LogAttrMask ( LOG_ATTR_MASK_t  uAttrMask)
inline

What types of info do we want to filter for.

◆ put_LogLevel()

void Gray::cLogEventParams::put_LogLevel ( LOGLEV_TYPE  eLogLevel)
inline

What level of importance do we want to filter for.

Member Data Documentation

◆ m_eLogLevel

LOGLEV_TYPE Gray::cLogEventParams::m_eLogLevel
protected

Min Importance level to see. 0 = LOGLEV_ANY = not important.

◆ m_uAttrMask

LOG_ATTR_MASK_t Gray::cLogEventParams::m_uAttrMask
protected

Special attributes for the event. (regardless of level) similar to pszSubject?


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