{"id":15597990,"url":"https://github.com/ibob/jalog","last_synced_at":"2025-10-25T02:36:25.564Z","repository":{"id":145863989,"uuid":"424522764","full_name":"iboB/jalog","owner":"iboB","description":"Just Another Logging library for C++","archived":false,"fork":false,"pushed_at":"2024-10-29T08:48:57.000Z","size":208,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T01:50:23.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iboB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-11-04T08:32:07.000Z","updated_at":"2024-11-19T00:14:27.000Z","dependencies_parsed_at":"2024-05-01T12:11:50.010Z","dependency_job_id":"3f8ce66e-8159-439f-b334-10841a462dd7","html_url":"https://github.com/iboB/jalog","commit_stats":{"total_commits":128,"total_committers":1,"mean_commits":128.0,"dds":0.0,"last_synced_commit":"6e4cf74320dbf123db7f43efa7308ac343e12120"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fjalog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fjalog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fjalog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fjalog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iboB","download_url":"https://codeload.github.com/iboB/jalog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233648603,"owners_count":18708225,"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":[],"created_at":"2024-10-03T01:25:33.938Z","updated_at":"2025-09-20T08:32:59.760Z","avatar_url":"https://github.com/iboB.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jalog\n\n[![Language](https://img.shields.io/badge/language-C++-blue.svg)](https://isocpp.org/) [![Standard](https://img.shields.io/badge/C%2B%2B-17-blue.svg)](https://en.wikipedia.org/wiki/C%2B%2B#Standardization) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![Build](https://github.com/iboB/jalog/actions/workflows/build.yml/badge.svg)](https://github.com/iboB/jalog/actions/workflows/build.yml)\n\nJust Another Logging library for C++17.\n\n## Features\n\n* Synchronous and asynchronous logging\n* Five fixed log levels: Debug, Info, Warning, Error, Critical\n* Custom log scopes (categories).\n* Custom log sinks and some predefined ones.\n* Allows multiple independent loggers\n* Thread safe\n* Optimized for (in that order):\n    * Performance\n    * Ease of use\n    * Compilation time\n* Logging styles:\n    * Jalog-style: `log(\"This is Jalog: \", 12, \" and \", 3.141592);`\n    * `std::ostream`-like: `log \u003c\u003c \"This and \" \u003c\u003c 42;`\n    * `printf`-like: `log(\"Crushing it since %d\", 1971);`\n    * raw (which allows you to provide your own style, say `std::format`)\n\n## Example\n\nA small snippet showcasing some of the library's features:\n\n*It also exists as a complete and buildable example [here](example/e-BasicShowcase.cpp).*\n\n```c++\nJALOG(Debug, \"Log integers: \", 34, \", or in a custom base: \", jalog::base\u003c16\u003e(255));\nJALOG(Info, \"Log floating point numbers with no precision loss: \", 12.4356631);\n\nstd::string str = \"my string\";\nstd::string_view sv = std::string_view(str).substr(0, 6);\nJALOG(Warning, \"Log strings: '\", str, \"' and string views '\", sv, \"'\");\n\nPerson alice = {\"Alice\", 34};\nJALOG(Error, \"Log types with custom ostream output: \", alice);\n\nJALOG_PRINTF(Critical, \"Log printf style: %d, %.3f, %s\", 43, 3.14159, str.c_str());\n```\n\nThis will produce an output similar to this:\n\n![Screeshot](doc/showcase-screen.png)\n\n## Documentation\n\n* [Features and Glossary](doc/features.md)\n* [Adding Jalog to your project](doc/how-to-add.md)\n* [The Basics](doc/basics.md)\n* [Asynchronous Logging](doc/async.md)\n* [Creating Scopes](doc/creating-scopes.md)\n* [Logging: Macros, Styles, Custom Types](doc/logging.md)\n* [Custom Sinks](doc/custom-sinks.md)\n* Advanced topics:\n    * [Using Multiple Loggers](doc/multiple-loggers.md)\n    * [Inheriting from Scope](doc/inherit-scope.md)\n    * [Development and Implementation Notes](doc/dev.md)\n\n## Building and Usage\n\nThere is an accompanying `CMakeLists.txt` file in the repo. Use CMake to generate project or make files for your desired platform and compiler.\n\nThe library uses [CPM.cmake](https://github.com/cpm-cmake/CPM.cmake) to manage its dependencies and the best way to use it is as a CPM.cmake pacakge.\n\nSee [Adding Jalog to your project](doc/how-to-add.md) for more info.\n\n## Contributing\n\nIssues and pull requests are welcome.\n\nSee [Development and Implementation Notes](doc/dev.md) on how to work on Jalog.\n\n## License\n\nThis software is distributed under the MIT Software License.\n\nSee accompanying file LICENSE or copy [here](https://opensource.org/licenses/MIT).\n\nCopyright \u0026copy; 2021-2025 [Borislav Stanimirov](http://github.com/iboB)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibob%2Fjalog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibob%2Fjalog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibob%2Fjalog/lists"}