1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
|
#include <log4cxx/config.h>
#include <log4cxx/helpers/boundedfifo.h>
#include <log4cxx/asyncappender.h>
#include <log4cxx/consoleappender.h>
#include <log4cxx/dailyrollingfileappender.h>
#include <log4cxx/htmllayout.h>
#include <log4cxx/level.h>
#include <log4cxx/patternlayout.h>
#include <log4cxx/propertyconfigurator.h>
#include <log4cxx/rollingfileappender.h>
#include <log4cxx/simplelayout.h>
#include <log4cxx/ttcclayout.h>
#include <log4cxx/db/odbcappender.h>
#include <log4cxx/helpers/appenderattachableimpl.h>
#include <log4cxx/helpers/onlyonceerrorhandler.h>
#include <log4cxx/net/smtpappender.h>
#include <log4cxx/net/socketappender.h>
#include <log4cxx/net/sockethubappender.h>
#include <log4cxx/helpers/datagramsocket.h>
#include <log4cxx/net/syslogappender.h>
#include <log4cxx/net/telnetappender.h>
#include <log4cxx/net/xmlsocketappender.h>
#include <log4cxx/nt/nteventlogappender.h>
#include <log4cxx/spi/loggingevent.h>
#include <log4cxx/varia/denyallfilter.h>
#include <log4cxx/varia/fallbackerrorhandler.h>
#include <log4cxx/varia/levelmatchfilter.h>
#include <log4cxx/varia/levelrangefilter.h>
#include <log4cxx/varia/stringmatchfilter.h>
#include <log4cxx/xml/domconfigurator.h>
#include <log4cxx/xml/xmllayout.h>
using namespace log4cxx;
using namespace log4cxx::db;
using namespace log4cxx::helpers;
using namespace log4cxx::net;
using namespace log4cxx::nt;
using namespace log4cxx::spi;
using namespace log4cxx::varia;
using namespace log4cxx::xml;
/** Special function used to force symbol references for dynamic classes when
comiling a static library with msvc.
<b>This function must not be called directly !</b>
*/
void ForceSymbolReferences()
{
AsyncAppender();
ConsoleAppender();
DailyRollingFileAppender();
FileAppender();
HTMLLayout();
PatternLayout();
PropertyConfigurator();
RollingFileAppender();
SimpleLayout();
TTCCLayout();
#ifdef HAVE_ODBC
ODBCAppender();
#endif
AppenderAttachableImpl();
OnlyOnceErrorHandler();
#ifdef HAVE_SMTP
SMTPAppender();
DefaultEvaluator();
#endif
SocketAppender();
SocketHubAppender();
SyslogAppender();
TelnetAppender();
XMLSocketAppender();
NTEventLogAppender();
LoggingEvent();
DenyAllFilter();
FallbackErrorHandler();
LevelMatchFilter();
LevelRangeFilter();
StringMatchFilter();
#ifdef HAVE_XML
DOMConfigurator();
#endif
XMLLayout();
}
|