{"id":24581301,"url":"https://github.com/osfabias/olog.c","last_synced_at":"2025-03-17T15:47:35.172Z","repository":{"id":273797270,"uuid":"920914914","full_name":"osfabias/olog.c","owner":"osfabias","description":"c logging library","archived":false,"fork":false,"pushed_at":"2025-01-30T16:23:30.000Z","size":595,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-30T17:30:10.980Z","etag":null,"topics":["c","c99","log","logger","logging"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osfabias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-23T01:55:41.000Z","updated_at":"2025-01-30T16:23:34.000Z","dependencies_parsed_at":"2025-01-23T02:34:22.747Z","dependency_job_id":"ea6fe570-7d9b-4ce4-af99-28588e21fc23","html_url":"https://github.com/osfabias/olog.c","commit_stats":null,"previous_names":["osfabias/olog.c"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfabias%2Folog.c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfabias%2Folog.c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfabias%2Folog.c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osfabias%2Folog.c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osfabias","download_url":"https://codeload.github.com/osfabias/olog.c/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244060897,"owners_count":20391619,"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","c99","log","logger","logging"],"created_at":"2025-01-24T02:41:41.819Z","updated_at":"2025-03-17T15:47:34.958Z","avatar_url":"https://github.com/osfabias.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# olog.c\nCross-platform logging library for C99.\n\n![example showcase](docs/example.png)\n\n#### Example\n```c\n#include \"olog.h\"\n\nint main(void)\n{\n  olog_config config = {\n    .file_path = \"logs.txt\",\n    .level = OLOG_LEVEL_TRACE,\n  };\n\n  olog_init(config);\n  olog_info(\"hello, world!\");\n  olog_deinit();\n\n  return 0;\n}\n```\n\n#### How to use with CMake\n```cmake\nadd_subdirectory(olog)\n...\ntarget_link_libraries(\u003ctarget_name\u003e \u003cmode\u003e olog)\n```\n\n#### How to build\n```sh\ncmake -B build .\ncmake --build build\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosfabias%2Folog.c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosfabias%2Folog.c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosfabias%2Folog.c/lists"}