36#include "blocxx/BLOCXX_config.h"
46#if defined(BLOCXX_WIN32)
47#define snprintf _snprintf
145 "SyslogAppender: Empty syslog identity name"
151 "SyslogAppender: Empty syslog facility name"
156 for( ;
f->name !=
NULL;
f++)
164 Format(
"SyslogAppender: Unknown syslog facility name: %1",
219 for (
size_t i = 0;
i < a.
size(); ++
i)
221 char format[] =
"%s";
#define BLOCXX_THROW(exType, msg)
Throw an exception using FILE and LINE.
#define BLOCXX_GLOBAL_MUTEX_INIT()
#define BLOCXX_GLOBAL_STRING_INIT(str)
This class can be used to store a global variable that is lazily initialized in a thread safe manner.
static const GlobalString STR_DEBUG2_CATEGORY
static const GlobalString STR_WARNING_CATEGORY
static const GlobalString STR_DEBUG3_CATEGORY
static const GlobalString STR_DEBUG_CATEGORY
static const GlobalString STR_FATAL_CATEGORY
static const GlobalString STR_ERROR_CATEGORY
static const GlobalString STR_INFO_CATEGORY
This String class is an abstract data type that represents as NULL terminated string of characters.
bool equalsIgnoreCase(const String &arg) const
Determine if another String object is equal to this String object, ignoring case in the comparision.
virtual ~SyslogAppender()
SyslogAppender(const StringArray &components, const StringArray &categories, const String &pattern, const String &identity, const String &facility)
static bool calledOpenLog
static const GlobalString STR_DEFAULT_MESSAGE_PATTERN
virtual void doProcessLogMessage(const String &formattedMessage, const LogMessage &message) const
bool operator==(const Array< T > &x, const Array< T > &y)
LazyGlobal< Mutex, int, GlobalMutexFactory > GlobalMutex