This is an automated email from the ASF dual-hosted git repository.
tschoening pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git.
from b04c6c2 Character encoding issues.
add 321f0a9 Add JSONLayout class
add 203b4a8 Implement fixes indicated by pull request comments
new f66b3c4 Things didn't compile when std::wstring was used, many basic
strings needed to be enhanced with LOG4CXX_STR. Additionally replaced "\n" with
LOG4CXX_EOL, because that was used in one place already and broke tests on
Windows this way. HTMLLayout used that only and with now using that here only
as well, the tests succeed on Windows and according the original author still
succeed on its non-Windows.
new 014954d Note to JSONLayout added.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/changes/changes.xml | 1 +
src/main/cpp/Makefile.am | 1 +
src/main/cpp/jsonlayout.cpp | 389 +++++++++++++++++
src/main/include/log4cxx/Makefile.am | 1 +
.../include/log4cxx/{htmllayout.h => jsonlayout.h} | 87 ++--
src/test/cpp/Makefile.am | 1 +
src/test/cpp/jsonlayouttest.cpp | 481 +++++++++++++++++++++
7 files changed, 914 insertions(+), 47 deletions(-)
create mode 100644 src/main/cpp/jsonlayout.cpp
copy src/main/include/log4cxx/{htmllayout.h => jsonlayout.h} (60%)
create mode 100644 src/test/cpp/jsonlayouttest.cpp