18 #ifndef _LOG4CXX_STRING_H 19 #define _LOG4CXX_STRING_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 28 #include <log4cxx/log4cxx.h> 30 #if (LOG4CXX_LOGCHAR_IS_WCHAR + LOG4CXX_LOGCHAR_IS_UTF8 + LOG4CXX_LOGCHAR_IS_UNICHAR)>1 31 #error only one of LOG4CXX_LOGCHAR_IS_WCHAR, LOG4CXX_LOGCHAR_IS_UTF8 or LOG4CXX_LOGCHAR_IS_UNICHAR may be true 34 #if LOG4CXX_CFSTRING_API 43 #if LOG4CXX_LOGCHAR_IS_UNICHAR || LOG4CXX_UNICHAR_API || LOG4CXX_CFSTRING_API 47 #if LOG4CXX_LOGCHAR_IS_WCHAR 48 typedef wchar_t logchar;
49 #define LOG4CXX_STR(str) L ## str 52 #if LOG4CXX_LOGCHAR_IS_UTF8 54 #if LOG4CXX_CHARSET_EBCDIC 55 #define LOG4CXX_STR(str) log4cxx::helpers::Transcoder::decode(str) 57 #define LOG4CXX_STR(str) str 61 #if LOG4CXX_LOGCHAR_IS_UNICHAR 62 typedef UniChar logchar;
63 #define LOG4CXX_STR(str) log4cxx::helpers::Transcoder::decode(str) 72 #if !defined(LOG4CXX_EOL) 74 #define LOG4CXX_EOL LOG4CXX_STR("\x0D\x0A") 76 #define LOG4CXX_EOL LOG4CXX_STR("\x0A") 81 #if LOG4CXX_LOGCHAR_IS_UNICHAR || (LOG4CXX_LOGCHAR_IS_UTF8 || LOG4CXX_CHARSET_EBCDIC) 89 #endif //_LOG4CXX_STRING_H unsigned short UniChar
Definition: logstring.h:44
const struct __CFString * CFStringRef
Definition: logstring.h:36
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66