graylog-logger

A simple C++ library for writing log messages to console, file and Graylog server

BSD-2-CLAUSE License

Stars
12
Committers
10

Bot releases are visible (Hide)

graylog-logger - Fix CMake find_package for Conan build Latest Release

Published by amues 3 months ago

graylog-logger - Bug fixes

Published by SkyToGround almost 3 years ago

  • Fixed bug triggered when replacing console interfaces.
  • Fixed race condition issues.
graylog-logger - Build system and dependency fixes

Published by SkyToGround about 3 years ago

  • Updated some dependencies.
  • Fixed some CI build system issues.
graylog-logger - Minor CMake fixes

Published by SkyToGround over 4 years ago

  • Fixed a minor issue with naming in CMake.
graylog-logger - CMake fixes

Published by SkyToGround over 4 years ago

  • Made important CMake changes required for properly making Conan packages. (ed-alertedh)
  • Made minor changes to the code to prevent issues when using a using namespace std; statement.
  • Minor documentation changes.
graylog-logger - CMake fixes

Published by SkyToGround almost 5 years ago

Changes

  • Fixed faulty CMake code that did not properly import dependencies.
graylog-logger - Important new features and performance improvements

Published by SkyToGround almost 5 years ago

New features

  • Added flushing functionality, see documentation for details in how it works.
  • Added support for the fmtlib (for formatting) if present.
  • Significant performance improvements. This library is now (in many simple cases) significantly faster than spdlog.

Other changes

  • Added performance tests.
  • Replaced the home-brewed concurrent queue with a much faster open source one.
  • Made the logger run in a separate thread.
  • Improved/fixed the README-file.
  • Made it easier/possible to build the library without using Conan for providing dependencies.
  • Added and fixed examples.
  • Fixed the non-working emptyQueue() and queueSize() implementations.
  • Fixed/improved code documentation.
  • Removed the message queue size parameter from log message handlers as it was deemed unnecessary.
  • Fixed and added unit tests.

Note that this release has not yet been extensively tested in a production environment. This will be done starting from today (2020-01-20).

graylog-logger - Fix of severe build issue and other minor improvements

Published by SkyToGround over 5 years ago

  • Fixed a bug that prevented the library from being included as a conan package in other projects.
  • Moved some of the code from externally facing header files to internal header files. This reduces the number of includes.
  • Other minor CMake and code fixes.
graylog-logger - Updated JSON for Modern C++

Published by SkyToGround over 5 years ago

Updated the JSON for Modern C++ from 3.1.0 to 3.6.1.

graylog-logger - Update ASIO dependency

Published by SkyToGround over 5 years ago

ASIO has been updated from 1.12.0 to 1.13.0.

graylog-logger - Removed cmake_installer conan dependency

Published by matthew-d-jones over 5 years ago

graylog-logger - Bug fixes

Published by SkyToGround over 5 years ago

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.
graylog-logger - Added log file opening status messages

Published by SkyToGround almost 6 years ago

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.

graylog-logger - Minor fix of static version of library

Published by SkyToGround almost 6 years ago

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.

graylog-logger - Modernisation and other improvements

Published by SkyToGround almost 6 years ago

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 the Informational 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.
graylog-logger - brightness-software-deliverable-MS35

Published by garethcmurphy over 6 years ago

A simple C++ library for writing log messages to console, file and Graylog server.

graylog-logger - Clang-tidy based changes

Published by SkyToGround over 6 years ago

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.

graylog-logger - Minor build changes

Published by SkyToGround over 6 years ago

-Switched to using position independent code (-fPIC). When building the static version of the library.
-Updated the Jenkins-script.

graylog-logger - Fix of bugs and improved build system

Published by SkyToGround about 7 years ago

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.

graylog-logger - Fix of bug which caused exception on exit

Published by SkyToGround over 7 years ago

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.