7 #ifndef _INC_cLogAppendConsole_H
8 #define _INC_cLogAppendConsole_H
17 #if !defined(UNDER_CE) && USE_CRT
59 if (m_aMsgs.
GetSize() >= m_iMax)
#define GRAYCORE_LINK
Definition: GrayCore.h:47
#define GRAYCALL
declare calling convention for static functions so everyone knows the arg passing scheme....
Definition: GrayCore.h:36
#define IUNKNOWN_DISAMBIG(TYPE)
Definition: IUnknown.h:92
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
#define CHEAPOBJECT_IMPL
Definition: cHeapObject.h:32
ITERATE_t Add(ARG_TYPE newElement)
Definition: cArray.h:199
ITERATE_t GetSize() const noexcept
Definition: cArray.h:137
Definition: cLogAppendConsole.h:22
static HRESULT __stdcall ShowMessageBox(cString sMsg, UINT uFlags=1)
virtual ~cLogAppendConsole()
static HRESULT __stdcall WaitForDebugger()
static bool __stdcall RemoveAppenderCheck(cLogNexus *pLogger, bool bOnlyIfParent)
virtual HRESULT WriteString(const LOGCHAR_t *pszMsg) override
static HRESULT __stdcall AddAppenderCheck(cLogNexus *pLogger=nullptr, bool bAttachElseAlloc=false)
Definition: cLogAppendConsole.h:43
virtual HRESULT WriteString(const LOGCHAR_t *pszMsg) override
Definition: cLogAppendConsole.h:55
cArrayString< LOGCHAR_t > m_aMsgs
Definition: cLogAppendConsole.h:47
cLogAppendTextArray(ITERATE_t iMax=SHRT_MAX)
Definition: cLogAppendConsole.h:51
const ITERATE_t m_iMax
Store this many messages.
Definition: cLogAppendConsole.h:48
Definition: cLogAppender.h:257
Definition: cSingletonPtr.h:20
< The main namespace for all Core functions.
Definition: GrayCore.cpp:14
int ITERATE_t
like size_t but signed
Definition: Index.h:28
char LOGCHAR_t
always just use UTF8 for logs, don't bother with UNICODE.
Definition: cLogLevel.h:17
static bool IsNullOrEmpty(const TYPE *pszStr) noexcept
Definition: StrT.h:102