{"id":17025326,"url":"https://github.com/silentvoid13/silent_log","last_synced_at":"2025-08-20T19:08:10.000Z","repository":{"id":104398292,"uuid":"242208884","full_name":"SilentVoid13/Silent_Log","owner":"SilentVoid13","description":"dead simple single-header library to display some colored log messages","archived":false,"fork":false,"pushed_at":"2024-08-26T12:16:35.000Z","size":73,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T06:11:25.146Z","etag":null,"topics":["c","logging-library"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SilentVoid13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-02-21T18:51:02.000Z","updated_at":"2025-01-20T05:19:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"46f2ff91-4fab-4f10-8db1-866d89f29806","html_url":"https://github.com/SilentVoid13/Silent_Log","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilentVoid13%2FSilent_Log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilentVoid13%2FSilent_Log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilentVoid13%2FSilent_Log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilentVoid13%2FSilent_Log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SilentVoid13","download_url":"https://codeload.github.com/SilentVoid13/Silent_Log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248558345,"owners_count":21124263,"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":["c","logging-library"],"created_at":"2024-10-14T07:28:52.173Z","updated_at":"2025-04-12T11:22:31.590Z","avatar_url":"https://github.com/SilentVoid13.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Silent_Log\n\nThis is a dead simple single-header library to display some colored log messages, based on ANSI colors.\n\nIt offers the following functions: \n- `LOG_INFO`\n- `LOG_ERROR`\n- `LOG_WARN`\n- `LOG_DEBUG`\n\n## Usage\n\nTo use it in your code, just include the header file `log.h`.\n\n```c\n// if debug is not set, LOG_DEBUG is suppressed\n#define DEBUG\n#include \"log.h\"\n\n\nint main() {\n    LOG_INFO(\"This is an info message\\n\");\n    LOG_ERROR(\"This is an error message\\n\");\n    LOG_WARN(\"This is a warning message\\n\");\n\n    int a = 1, b = 2, c = a + b;\n    LOG_INFO(\"%d + %d = %d !\\n\", a, b ,c);\n\n    LOG_DEBUG(\"This is a debugging message\\n\");\n\n    return 0;\n}\n```\n\n## License\n\nSilent_Log is licensed under the GNU AGPLv3 license. Refer to [LICENSE](https://github.com/SilentVoid13/Silent_Log/blob/master/LICENSE.txt) for more informations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentvoid13%2Fsilent_log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilentvoid13%2Fsilent_log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentvoid13%2Fsilent_log/lists"}