5 #ifndef __LOGOG_TARGET_HPP_
6 #define __LOGOG_TARGET_HPP_
97 bool bEnableOutputBuffering =
true);
162 virtual void Allocate(
size_t size );
180 #endif // __LOGOG_TARGET_HPP_
bool m_bOpenFailed
Definition: target.hpp:123
[Thread]
Definition: api.hpp:8
Definition: target.hpp:16
#define LOGOG_STRING
Definition: string.hpp:113
bool m_bEnableOutputBuffering
Definition: target.hpp:125
LOGOG_CHAR * m_pCurrent
Definition: target.hpp:169
bool m_bNullTerminatesStrings
Definition: target.hpp:58
virtual void Deallocate()
Definition: target.hpp:62
[Mutex]
Definition: mutex.hpp:48
bool m_bFirstTime
Definition: target.hpp:122
Definition: target.hpp:76
Definition: target.hpp:139
bool GetNullTerminatesStrings() const
Definition: target.hpp:44
virtual void Allocate(size_t size)
virtual int Insert(const LOGOG_CHAR *pChars, size_t size)
virtual void WriteUnicodeBOM()
virtual int Output(const LOGOG_STRING &data)
wchar_t LOGOG_CHAR
Definition: string.hpp:14
virtual int Output(const LOGOG_STRING &data)
virtual int Receive(const Topic &topic)
Formatter * m_pFormatter
Definition: target.hpp:52
Formatter & GetFormatter() const
LOGOG_CHAR * m_pEnd
Definition: target.hpp:171
virtual int Output(const LOGOG_STRING &data)=0
Definition: target.hpp:68
Target * m_pOutputTarget
Definition: target.hpp:175
bool m_bWriteUnicodeBOM
Definition: target.hpp:118
char * m_pFileName
Definition: target.hpp:121
size_t m_nSize
Definition: target.hpp:173
LogBuffer(Target *pTarget=NULL, size_t s=LOGOG_DEFAULT_LOG_BUFFER_SIZE)
void SetNullTerminatesStrings(bool val)
Definition: target.hpp:47
Mutex m_MutexReceive
Definition: target.hpp:54
FILE * m_pFile
Definition: target.hpp:124
Definition: target.hpp:86
virtual int InternalOutput(size_t nSize, const LOGOG_CHAR *pData)
void SetFormatter(Formatter &formatter)
Definition: topic.hpp:200
LOGOG_CHAR * m_pStart
Definition: target.hpp:167
virtual void SetTarget(Target &t)
#define LOGOG_DEFAULT_LOG_BUFFER_SIZE
Definition: const.hpp:15