{"id":15137002,"url":"https://github.com/ess-dmsc/graylog-logger","last_synced_at":"2025-10-23T11:32:11.273Z","repository":{"id":17913238,"uuid":"80732581","full_name":"ess-dmsc/graylog-logger","owner":"ess-dmsc","description":"A simple C++ library for writing log messages to console, file and Graylog server","archived":false,"fork":false,"pushed_at":"2024-07-12T12:06:27.000Z","size":652,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T18:38:46.156Z","etag":null,"topics":["asio","boost","cmake","conan","graylog-logger","graylog-server","jenkins"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ess-dmsc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-02T14:27:03.000Z","updated_at":"2024-12-20T23:22:47.000Z","dependencies_parsed_at":"2024-07-12T13:44:27.243Z","dependency_job_id":"acb1c1f0-b874-43b2-a44c-85c0a4ed9150","html_url":"https://github.com/ess-dmsc/graylog-logger","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess-dmsc%2Fgraylog-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess-dmsc%2Fgraylog-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess-dmsc%2Fgraylog-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess-dmsc%2Fgraylog-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ess-dmsc","download_url":"https://codeload.github.com/ess-dmsc/graylog-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237821728,"owners_count":19371816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asio","boost","cmake","conan","graylog-logger","graylog-server","jenkins"],"created_at":"2024-09-26T06:42:39.180Z","updated_at":"2025-10-23T11:32:11.266Z","avatar_url":"https://github.com/ess-dmsc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graylog logger\n\nThis is a simple logging library which can be used to send log messages to a Graylog server. \nThis is done by creating messages in the [GELF](http://docs.graylog.org/en/2.1/pages/gelf.html) format and sending them to a Graylog server via TCP. \nThe argument for creating yet another logging library instead of writing a plugin/sink/handler for an already existing one is that a relatively light weight solution was desired. \nThe library has functionality for writing log messages to console and file as well. \nBy default the library will only write log messages to console.\n\nThe repository is split into four parts:\n\n* The logging library.\n* Unit tests of the logging library which are completely self contained (i.e. does not require a Graylog server).\n* A simple console application which uses the logging library.\n* Some benchmarking code which is used for profiling and optimising the code as well as test for performance regression.\n\n- Further documentation can be [found here.](documentation/README.md)\n\n## Installation\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. \nSee deployment for notes on how to deploy the project on a live system.\n\n\n## Requirements\n\n- **C++14 compiler** (we provide conan profiles for gcc11)\n- **CMake 3.15+**\n- **Conan 1.66+**\n\n## Docker image\n\n\n## Dependencies\n\nAll dependencies are listed in [`conanfile.py`](./conanfile.py) and automatically installed via Conan.\n\n#### Install Conan configuration\n```\nconan config install http://github.com/ess-dmsc/conan-configuration.git\n```\n\n#### Build with Conan\n```\ngit clone https://github.com/ess-dmsc/graylog-logger.git\ncd graylog-logger\nconan install . --build=missing -pr=linux_x86_64_gcc11\ncmake -B build/Release -S . -DCMAKE_TOOLCHAIN_FILE=build/Release/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release\ncmake --build build/Release\n```\n\n#### Making a Conan package\n\n```\nconan create . ess-dmsc/testing -pr=linux_x86_64_gcc11\n```\n\n#### Documentation\nThe code has some documentation. To generate it, run _doxygen_ in the root of the repository i.e.:\n\n```\ncd graylog-logger\ndoxygen\n```\n\n## Running the tests\n\n```\ncmake --build build/Release --target unit_tests --target performance_test\n\n# unit tests\ncd build/Release\nctest\n\n# performance tests\n./performance_test/performance_test\n```\n\n## Deployment\n\nExamples illustrating how the library can be used can be found in the [examples.md](documentation/examples.md) file.\n\n## Contributing\n\nGet in contact by [creating an issue](https://github.com/ess-dmsc/graylog-logger/issues). I will be happy to assist you making the changes that you want.\n\n## Versioning\n\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [releases on github](https://github.com/ess-dmsc/graylog-logger/releases).\n\n[See description of changes](documentation/changes.md)\n\n## Authors\n\n* **Jonas Nilsson** - *Initial work* - [SkyToGround](https://github.com/SkyToGround)\n* **Afonso Mukai** - Provided much assistance in setting up the continous integration system.\n* **Matthew Jones** - Improved the CMake code and suggested improvements to the interface. \n\nSee also the list of [contributors](https://github.com/ess-dmsc/graylog-logger/graphs/contributors) to this project.\n\n## License\n\nThis project is licensed under the BSD-2 License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fess-dmsc%2Fgraylog-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fess-dmsc%2Fgraylog-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fess-dmsc%2Fgraylog-logger/lists"}