log4cplus  2.0.6
log4cplus.h
Go to the documentation of this file.
1 // Copyright (C) 2015-2017, Vaclav Haisman. All rights reserved.
2 //
3 // Redistribution and use in source and binary forms, with or without modifica-
4 // tion, are permitted provided that the following conditions are met:
5 //
6 // 1. Redistributions of source code must retain the above copyright notice,
7 // this list of conditions and the following disclaimer.
8 //
9 // 2. Redistributions in binary form must reproduce the above copyright notice,
10 // this list of conditions and the following disclaimer in the documentation
11 // and/or other materials provided with the distribution.
12 //
13 // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
14 // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
15 // FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
16 // APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
17 // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
18 // DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
19 // OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 
24 #ifndef LOG4CPLUS_LOG4CPLUS_HXX
25 #define LOG4CPLUS_LOG4CPLUS_HXX
26 
27 #include <log4cplus/config.hxx>
28 
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
30 #pragma once
31 #endif
32 
33 #include <log4cplus/version.h>
34 #include <log4cplus/loglevel.h>
35 #include <log4cplus/logger.h>
36 #include <log4cplus/layout.h>
37 #include <log4cplus/hierarchy.h>
39 #include <log4cplus/tracelogger.h>
40 #include <log4cplus/configurator.h>
41 #include <log4cplus/appender.h>
42 #include <log4cplus/mdc.h>
43 #include <log4cplus/ndc.h>
44 #include <log4cplus/initializer.h>
46 #include <log4cplus/spi/factory.h>
47 #include <log4cplus/spi/filter.h>
49 
52 #include <log4cplus/fileappender.h>
55 #include <log4cplus/nullappender.h>
56 
57 #if defined (LOG4CPLUS_WITH_UNIT_TESTS)
58 namespace log4cplus
59 {
60 
61 LOG4CPLUS_EXPORT int unit_tests_main (int argc, char* argv[]);
62 
63 } // namespace log4cplus
64 #endif
65 
66 #endif // LOG4CPLUS_LOG4CPLUS_HXX
filter.h
log4cplus
Definition: appender.h:46
initializer.h
factory.h
asyncappender.h
fileappender.h
logger.h
property.h
consoleappender.h
loggingmacros.h
syslogappender.h
loglevel.h
version.h
tracelogger.h
config.hxx
nullappender.h
loggingevent.h
mdc.h
LOG4CPLUS_EXPORT
#define LOG4CPLUS_EXPORT
Definition: win32.h:141
layout.h
socketappender.h
ndc.h
configurator.h
appender.h
hierarchy.h