log4cplus
2.0.0
|
00001 // Copyright (C) 2015, Vaclav Haisman. All rights reserved. 00002 // 00003 // Redistribution and use in source and binary forms, with or without modifica- 00004 // tion, are permitted provided that the following conditions are met: 00005 // 00006 // 1. Redistributions of source code must retain the above copyright notice, 00007 // this list of conditions and the following disclaimer. 00008 // 00009 // 2. Redistributions in binary form must reproduce the above copyright notice, 00010 // this list of conditions and the following disclaimer in the documentation 00011 // and/or other materials provided with the distribution. 00012 // 00013 // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, 00014 // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 00015 // FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00016 // APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 00017 // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- 00018 // DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00019 // OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00020 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00021 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 00022 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00023 00024 #ifndef LOG4CPLUS_LOG4CPLUS_HXX 00025 #define LOG4CPLUS_LOG4CPLUS_HXX 00026 00027 #include <log4cplus/config.hxx> 00028 00029 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 00030 #pragma once 00031 #endif 00032 00033 #include <log4cplus/version.h> 00034 #include <log4cplus/loglevel.h> 00035 #include <log4cplus/logger.h> 00036 #include <log4cplus/layout.h> 00037 #include <log4cplus/hierarchy.h> 00038 #include <log4cplus/loggingmacros.h> 00039 #include <log4cplus/tracelogger.h> 00040 #include <log4cplus/configurator.h> 00041 #include <log4cplus/appender.h> 00042 #include <log4cplus/mdc.h> 00043 #include <log4cplus/ndc.h> 00044 #include <log4cplus/initializer.h> 00045 #include <log4cplus/helpers/property.h> 00046 #include <log4cplus/spi/factory.h> 00047 #include <log4cplus/spi/filter.h> 00048 #include <log4cplus/spi/loggingevent.h> 00049 00050 #include <log4cplus/asyncappender.h> 00051 #include <log4cplus/consoleappender.h> 00052 #include <log4cplus/fileappender.h> 00053 #include <log4cplus/socketappender.h> 00054 #include <log4cplus/syslogappender.h> 00055 #include <log4cplus/nullappender.h> 00056 00057 #if defined (LOG4CPLUS_WITH_UNIT_TESTS) 00058 namespace log4cplus 00059 { 00060 00061 LOG4CPLUS_EXPORT int unit_tests_main (int argc, char* argv[]); 00062 00063 } // namespace log4cplus 00064 #endif 00065 00066 #endif // LOG4CPLUS_LOG4CPLUS_HXX