![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cLogEvent.h>
Public Member Functions | |
cLogEvent (LOG_ATTR_MASK_t uAttrMask=LOG_ATTR_0, LOGLEV_TYPE eLogLevel=LOGLEV_ANY, cStringL sMsg="", cStringL sContext="") | |
~cLogEvent () | |
cStringL | get_FormattedDefault () const |
take all my attributes and make a single string. More... | |
![]() | |
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 |
![]() | |
cRefBase (int iRefCount=0) noexcept | |
virtual | ~cRefBase () |
int | get_RefCount () const noexcept |
HASHCODE_t | get_HashCode () const noexcept |
STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
virtual void | onFinalRelease () |
bool | isValidObj () const noexcept |
STDMETHOD_ (ULONG, AddRef)(void) override | |
STDMETHOD_ (ULONG, Release)(void) override | |
STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
void | IncRefCount () |
void | DecRefCount () |
bool | isStaticConstruct () const noexcept |
void | StaticConstruct () |
void | StaticDestruct () |
bool | isDestructing () noexcept |
void | SetDestructing () |
Public Attributes | |
const char * | m_pszSubject |
general subject matter tag. More... | |
cStringL | m_sContext |
extra context info. format ? e.g. What script/class/etc name is this event from? More... | |
cStringL | m_sMsg |
message text More... | |
TIMESEC_t | m_time |
cTimeInt. when did this happen? maybe not set until needed. ! isTimeValid() More... | |
Additional Inherited Members | |
![]() | |
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... | |
Store a single event instance for asynchronous processing.
|
inline |
|
inline |
cStringL Gray::cLogEvent::get_FormattedDefault | ( | ) | const |
take all my attributes and make a single string.
Format the text for the event in the default way. adds FILE_EOL.
const char* Gray::cLogEvent::m_pszSubject |
general subject matter tag.
cStringL Gray::cLogEvent::m_sContext |
extra context info. format ? e.g. What script/class/etc name is this event from?
cStringL Gray::cLogEvent::m_sMsg |
message text
TIMESEC_t Gray::cLogEvent::m_time |
cTimeInt. when did this happen? maybe not set until needed. ! isTimeValid()