{"id":18672121,"url":"https://github.com/dfirebaugh/log-donkey","last_synced_at":"2025-08-07T00:48:14.774Z","repository":{"id":36469300,"uuid":"226557766","full_name":"dfirebaugh/log-donkey","owner":"dfirebaugh","description":"a simple logging tool that logs based on a set log level","archived":false,"fork":false,"pushed_at":"2023-01-05T02:32:43.000Z","size":733,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T09:37:40.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dfirebaugh.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}},"created_at":"2019-12-07T18:23:27.000Z","updated_at":"2019-12-08T04:37:40.000Z","dependencies_parsed_at":"2023-01-17T01:46:48.565Z","dependency_job_id":null,"html_url":"https://github.com/dfirebaugh/log-donkey","commit_stats":null,"previous_names":["dfirebaugh/logdonkey"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dfirebaugh/log-donkey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Flog-donkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Flog-donkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Flog-donkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Flog-donkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfirebaugh","download_url":"https://codeload.github.com/dfirebaugh/log-donkey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfirebaugh%2Flog-donkey/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269181028,"owners_count":24373848,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"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":[],"created_at":"2024-11-07T09:09:32.944Z","updated_at":"2025-08-07T00:48:14.387Z","avatar_url":"https://github.com/dfirebaugh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logDonkey\na simple logging tool that logs based on a set log level\n\n### install\n``` npm i log-donkey ```\n\n### example\n\n```javascript\nconst log = require(\"log-donkey\");\n\n// set the log level\nlog.setLogLevel(log.levels.DEBUG);\n\n// log an error\nlog.error(\"this is an error message\");\n\n// log a warning\nlog.warn(\"this is a warning message\");\n\n// log info\nlog.info(\"logging some info\");\n\n// log a debug message\nlog.debug(\"this is a debug message\");\n```\n### es6 module example\n\n```javascript\nimport log from \"log-donkey\"\n\nlog.setLogLevel(log.levels.DEBUG);\n\nlog.debug(\"some debug message here\")\n\n```\n\n### LogLevels\n```\nERROR - prints ERROR\n\nWARN - prints ERROR and WARN\n\nINFO - prints INFO, WARN, and ERROR\n\nDEBUG - prints DEBUG, INFO, WARN, and ERROR\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfirebaugh%2Flog-donkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfirebaugh%2Flog-donkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfirebaugh%2Flog-donkey/lists"}