Releases: ess-dmsc/graylog-logger
Removed cmake_installer conan dependency
v1.1.5 Merge pull request #26 from ess-dmsc/remove_cmake_installer_conan_dep…
Bug fixes
Improvements
- Fixed serious issue that would cause the library to repeatedly cause new connections to spawn.
- Made minor changes to the documentation.
- Minor other changes.
Added log file opening status messages
Some indication of the result of opening a log file was required and that has now been added.
As an extra bonus, the threading model for the ConsoleLogger
and FileLogger
interfaces have been updated.
Minor fix of static version of library
To make the static version of the library useful in any non trivial examples/projects, it has to be compiled with the -fPIC
flag. This is fixed in the current release.
Modernisation and other improvements
This version has the following changes from the last version:
- Completely removed the dependency on boost for unit testing.
- Switched out the networking code for code using ASIO.
- Updated to CMake code to use modern CMake features.
- Moved towards using the LLVM coding standard. This has changed the interface, you might have to update your code.
- Switched to using the JSONForModernCPP library. This library is not included in the repository.
- Added the
Info
severity level which is exactly the same as theInformational
severity level. - Updated the CI-code (Jenkins) to build the library on more (modern) operating systems.
- Messages are now passed to the graylog-server with millisecond resolution timestamps.
- The code now requires C++14 to compile.
- Updated the documentation.
- Modernized the code somewhat.
- This is the last version not using semantic versioning. The next release which has breaking changes in the API will have the version number 2.0.0.
brightness-software-deliverable-MS35
A simple C++ library for writing log messages to console, file and Graylog server.
Clang-tidy based changes
The code base has been analysed using clang-tidy and has subsequently been modified to better conform to best practices. For this reason, there has been some minor changes in the interfaces that might break compatibility with your code base. The changes (if required) are very minor though.
Minor build changes
-Switched to using position independent code (-fPIC). When building the static version of the library.
-Updated the Jenkins-script.
Fix of bugs and improved build system
Fixed serious bug and related memory leak when trying to connect to a machine which does not have a running Graylog service. Also improved the build system including adding support for Conan.
Fix of bug which caused exception on exit
Fix of minor bug related to order in which static objects are deallocated. This caused the application to throw an exception on exit on some systems.