{"id":20601011,"url":"https://github.com/smooll-d/slou","last_synced_at":"2026-06-25T03:31:22.925Z","repository":{"id":143546822,"uuid":"612672391","full_name":"smooll-d/slou","owner":"smooll-d","description":"\"Smooll\" LOgging Utility.","archived":false,"fork":false,"pushed_at":"2023-03-21T23:10:24.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T09:07:48.298Z","etag":null,"topics":["cpp","logger","loggers","logging","logging-library","meson"],"latest_commit_sha":null,"homepage":"https://reallysmooll.github.io/slou-docs/","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/smooll-d.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-11T16:34:49.000Z","updated_at":"2023-03-12T17:37:03.000Z","dependencies_parsed_at":"2023-07-07T01:33:46.138Z","dependency_job_id":null,"html_url":"https://github.com/smooll-d/slou","commit_stats":null,"previous_names":["smooll-d/slou"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooll-d%2Fslou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooll-d%2Fslou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooll-d%2Fslou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smooll-d%2Fslou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smooll-d","download_url":"https://codeload.github.com/smooll-d/slou/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234300372,"owners_count":18810607,"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":["cpp","logger","loggers","logging","logging-library","meson"],"created_at":"2024-11-16T09:08:05.170Z","updated_at":"2025-01-17T01:45:58.972Z","avatar_url":"https://github.com/smooll-d.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slou\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.github.com/reallySmooll/slou/blob/master/LICENSE\" alt=\"License\"\u003e\n        \u003cimg src=\"https://img.shields.io/static/v1?label=License\u0026message=MIT\u0026color=informational\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.github.com/reallySmooll/slou/blob/master/CHANGELOG.md\" alt=\"Version\"\u003e\n        \u003cimg src=\"https://img.shields.io/static/v1?label=Version\u0026message=v1.2.0\u0026color=informational\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.codacy.com/gh/reallySmooll/slou/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=reallySmooll/slou\u0026amp;utm_campaign=Badge_Grade\" alt=\"Codacy Badge\"\u003e\n        \u003cimg src=\"https://app.codacy.com/project/badge/Grade/30c92ecea05f43a98c67c947f61bbcd3\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\"Smooll\" LOgging Utility (pronounced `slew`).\n\n`slou` is a simple logging library made in C++ that's easy to use and can be used in both small and big projects.\n\n## Installation\nslou uses the Meson build system which means that you can install your project on all platforms that are supported by Meson.\n\nLinux users can download a binary of the library on the [Releases](https://www.github.com/reallySmooll/slou/releases) page.\nWindows users can now also download a binary of the library on the [Releases](https://www.github.com/reallySmooll/slou/releases) page.\n\n### Dependencies\n- Meson\n- git\n- Doxygen (optional, if you want to help with documentation, install it)\n\n### Building\nBuilding slou is as easy as 1-2-3. The following commands are directed at Linux users but it should work for any operating system as Meson will generate the necessary files for building the project.\n\n```bash\n$ git clone --recursive https://github.com/reallySmooll/slou.git\n$ cd slou/\n$ meson setup build/\n$ meson compile -C build/\n```\n\nIf you're on Linux and want to install the library system-wide, you can use these commands (after cloning the repository and entering into the directory):\n\n```bash\n$ meson setup --prefix /usr build/\n$ sudo meson install -C build\n```\n\n## Quickstart\nslou was designed to be very easy to use. And as it is a small library it doesn't require anymore setup than this:\n\n```cpp\n#include \u003cslou/slou.hpp\u003e\n\nint main()\n{\n    slou::Logger logger;\n\n    logger.Log(logger.INFO, \"Hello, world!\");\n\n    return 0;\n}\n```\n\nThat is the default setup for slou. The logs will be saved to a file called (by default) `slou.log` but the logs will not be displayed on the screen.\n\nYou can obviously change this and customize it to your liking. If you'd like to see more, you can check out the documentation [here](https://reallysmooll.github.io/slou-docs) or [USAGE.md](https://www.github.com/reallySmooll/slou/blob/master/USAGE.md).\n\n**NOTE: There are problems with images on the `Usage and configuration` section on the documentation page for slou, we are fixing them but until this note disappears, please use the [USAGE.md](https://www.github.com/reallySmooll/slou/blob/master/USAGE.md) if you want to see proof that the configuration works. Sorry for the inconvenience. :)**\n\n## Contributing\nIf you'd like to contribute, please refer to the [contributing guide](https://www.github.com/reallySmooll/slou/blob/master/CONTRIBUTING.md).\n\nHere are some contributions:\n\n- Testing on Windows - Marcel Zdziechowicz ([@marcel-zdziechowicz](https://www.github.com/marcel-zdziechowicz))\n\n## Code of Conduct\nIf you'd like to see it, check out the [CODE_OF_CONDUCT.md](https://www.github.com/reallySmooll/slou/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmooll-d%2Fslou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmooll-d%2Fslou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmooll-d%2Fslou/lists"}