3
3
Short Description
4
4
=================
5
5
6
- [ log4cplus] is a simple to use C++11 logging API providing thread--safe,
6
+ [ log4cplus] is a simple to use C++17 logging API providing thread--safe,
7
7
flexible, and arbitrarily granular control over log management and
8
8
configuration. It is modeled after the Java log4j API.
9
9
@@ -36,11 +36,11 @@ from log4net, log4cxx, log4cpp).
36
36
Platform support
37
37
================
38
38
39
- [ log4cplus] version 2 .0 and beyond require C++11 . [ log4cplus] has been
39
+ [ log4cplus] version 3 .0 and beyond require C++17 . [ log4cplus] has been
40
40
ported to and tested on the following platforms:
41
41
42
- - Linux/AMD64 with GCC version 6.2 .0 20161005 (Ubuntu 6.2 .0-5ubuntu12 )
43
- - Linux/AMD64 with Clang version 3.8.1-12ubuntu1 (tags/RELEASE_381 /final)
42
+ - Linux/AMD64 with GCC version 8.3 .0 (Ubuntu 8.3 .0-6ubuntu1 )
43
+ - Linux/AMD64 with Clang version 8.0.0-3 (tags/RELEASE_800 /final)
44
44
- Windows/AMD64 with GCC version 4.8.2 (x86_64-posix-seh-rev3, Built by
45
45
MinGW-W64 project) using CMake build system
46
46
- Windows/AMD64 with GCC version 4.9.2 (tdm64-1) using CMake build system
@@ -59,8 +59,8 @@ on Linux platform offered by [Travis CI][11] service.
59
59
The oldest Windows version that is supported by 2.x releases is Windows Vista.
60
60
61
61
The following platforms were supported by the 1.x series of [ log4cplus] . They
62
- either do not have a reasonable C++11 capable compiler or have not been checked
63
- with [ log4cplus] 2 .x, yet:
62
+ either do not have a reasonable C++17 capable compiler or have not been checked
63
+ with [ log4cplus] 3 .x, yet:
64
64
65
65
- Minix 3.3.0/i386 with Clang version 3.4 (branches/release_34) with
66
66
` --disable-threads `
@@ -150,6 +150,36 @@ help with configuration by supplying additional flags to the
150
150
Linux. See one of the later note for details.
151
151
152
152
153
+ ` --enable-tests `
154
+ ----------------
155
+
156
+ This option is enabled by default. It enables compilation of test executables.
157
+
158
+
159
+ ` --enable-unit-tests `
160
+ ---------------------
161
+
162
+ This option is disabled by default. It enables compilation of unit tests along
163
+ their units. These unit tests then can be executed through ` unit_tests ` test
164
+ executable that is built during compilation.
165
+
166
+
167
+ ` --enable-implicit-initialization `
168
+ ----------------------------------
169
+
170
+ This option is enabled by default. It enables implicit initialization of
171
+ [ log4cplus] . When it is turned off, [ log4cplus] has to be explicitly
172
+ initialized by calling either ` log4cplus::initialize() ` or by instantiating
173
+ ` log4cplus::Initializer ` .
174
+
175
+
176
+ ` --enable-lto `
177
+ --------------
178
+
179
+ This option is disabled by default. It enables LTO (Link-Time Optimization)
180
+ builds.
181
+
182
+
153
183
` --with-wchar_t-support `
154
184
------------------------
155
185
@@ -205,18 +235,12 @@ separate shared library (liblog4cplusqt4debugappender) that implements
205
235
` Qt4DebugAppender ` . It requires Qt4 and pkg-config to be installed.
206
236
207
237
208
- ` --enable-tests `
209
- ---------------------
210
-
211
- This option is enabled by default. It enables compilation of test executables.
212
-
213
-
214
- ` --enable-unit-tests `
215
- ---------------------
238
+ ` --with-qt5 `
239
+ ------------
216
240
217
- This option is disabled by default. It enables compilation of unit tests along
218
- their units. These unit tests then can be executed through ` unit_tests ` test
219
- executable that is built during compilation .
241
+ This option is disabled by default. It enables compilation of a separate
242
+ shared library (liblog4cplusqt5debugappender) that implements
243
+ ` Qt5DebugAppender ` . It requires Qt5 and pkg-config to be available .
220
244
221
245
222
246
Notes
@@ -610,8 +634,8 @@ Unsupported compilers and platforms
610
634
-----------------------------------
611
635
612
636
[ log4cplus] does not support too old or broken C++ compilers. Since [ log4cplus]
613
- version 2 .0.0, it means it does not support any platform or compiler without
614
- decent C++11 support.
637
+ version 3 .0.0, it means it does not support any platform or compiler without
638
+ decent C++17 support.
615
639
616
640
- Visual Studio prior to 2015
617
641
- GCC prior to 4.8
0 commit comments