{"id":21708341,"url":"https://github.com/vovagorodok/arduinostreamlogger","last_synced_at":"2026-04-17T02:03:09.580Z","repository":{"id":122916649,"uuid":"529633280","full_name":"vovagorodok/ArduinoStreamLogger","owner":"vovagorodok","description":"Advanced logger with log level changing ","archived":false,"fork":false,"pushed_at":"2026-04-15T00:02:14.000Z","size":87,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-15T02:02:38.834Z","etag":null,"topics":["arduino","logger","logging","platformio"],"latest_commit_sha":null,"homepage":"","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/vovagorodok.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-27T16:07:17.000Z","updated_at":"2026-04-15T00:02:13.000Z","dependencies_parsed_at":"2026-04-15T02:00:29.380Z","dependency_job_id":null,"html_url":"https://github.com/vovagorodok/ArduinoStreamLogger","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/vovagorodok/ArduinoStreamLogger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovagorodok%2FArduinoStreamLogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovagorodok%2FArduinoStreamLogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovagorodok%2FArduinoStreamLogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovagorodok%2FArduinoStreamLogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vovagorodok","download_url":"https://codeload.github.com/vovagorodok/ArduinoStreamLogger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vovagorodok%2FArduinoStreamLogger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["arduino","logger","logging","platformio"],"created_at":"2024-11-25T22:23:17.383Z","updated_at":"2026-04-17T02:03:09.563Z","avatar_url":"https://github.com/vovagorodok.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arduino Stream Logger\nLibrary opens posibility of logging by using ostream.  \nWhen log level is disabled (by adding `-D LOG_LEVEL_DISABLED` or removing `-D LOG_LEVEL_..`) then all strings, operators calls, etc. will be optimized/removed from binary.\n\n## Using\nUse as follows:\n```\n#include \u003cLogger.h\u003e\n...\nLOG_DEBUG \u003c\u003c \"debug\";\nLOG_INFO \u003c\u003c \"info\";\nLOG_WARNING \u003c\u003c \"warning\";\nLOG_ERROR \u003c\u003c \"error\";\n```\n\n## Optimization aspects\nCompiler will not optimize function calls.  \nFor example, in case of `LOG_LEVEL_INFO` and debug with function call:\n```\nLOG_DEBUG \u003c\u003c foo();\n```\nCompiler optimize only logging, but `foo()` will be called.  \nFollowing macro will help to optimize all:\n```\nLOG_CALL_DEBUG(\u003c\u003c foo());\n```\n\n## Additional format options\nDisable prefix:\n```\nbuild_flags =\n\t-D LOG_FORMAT_WITHOUT_PREFIX\n```\nCustom separator:\n```\nbuild_flags =\n\t-D LOG_FORMAT_SEPARATOR='\"\\\\\\\\\"'\n```\nDefault separator is `\": \"`.\n\n## Configuration\nLibrary require c++17 or newer.  \nFor PlatformIO. Add `LOG_LEVEL_INFO` or `LOG_LVL_INFO` to `platformio.ini`:\n```\nbuild_flags =\n\t-std=c++17\n\t-std=gnu++17\n\t-D LOG_LEVEL_INFO\nbuild_unflags =\n\t-std=gnu++11\n```\n\nFor Arduino IDE. At boards package installation folder create `platform.local.txt`:\n```\ncompiler.cpp.extra_flags=-std=c++17 -D LOG_LEVEL_INFO\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvovagorodok%2Farduinostreamlogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvovagorodok%2Farduinostreamlogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvovagorodok%2Farduinostreamlogger/lists"}