{"id":20754481,"url":"https://github.com/annotationsro/ember-simple-logger","last_synced_at":"2025-10-07T03:43:17.701Z","repository":{"id":46646575,"uuid":"158689784","full_name":"AnnotationSro/ember-simple-logger","owner":"AnnotationSro","description":"Very simple replacement for Ember.Logger that supports callbacks on log","archived":false,"fork":false,"pushed_at":"2022-10-02T11:14:46.000Z","size":322,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T22:49:29.050Z","etag":null,"topics":["hacktoberfest"],"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/AnnotationSro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T11:32:03.000Z","updated_at":"2021-10-01T20:49:52.000Z","dependencies_parsed_at":"2023-01-19T02:01:07.358Z","dependency_job_id":null,"html_url":"https://github.com/AnnotationSro/ember-simple-logger","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/AnnotationSro/ember-simple-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnnotationSro%2Fember-simple-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnnotationSro%2Fember-simple-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnnotationSro%2Fember-simple-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnnotationSro%2Fember-simple-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnnotationSro","download_url":"https://codeload.github.com/AnnotationSro/ember-simple-logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnnotationSro%2Fember-simple-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278717435,"owners_count":26033539,"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-10-07T02:00:06.786Z","response_time":59,"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":["hacktoberfest"],"created_at":"2024-11-17T09:17:58.310Z","updated_at":"2025-10-07T03:43:17.673Z","avatar_url":"https://github.com/AnnotationSro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-simple-logger\n==============================================================================\n\nReplacement for `Ember.Logger` that is deprecated in newer Ember versions. The only reason to use this addon is when you need a callback to be called when something is logged.\n\n## Warning\nThis package is no longer maintained. You are probably better off without this addon either way.\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.20 or above\n* Ember CLI v3.20 or above\n* Node.js v12 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-simple-logger\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\n```\n  simpleLogger: service('simple-logger'),\n\n//............\n  this.get('simpleLogger').info('some text to log');\n  this.get('simpleLogger').info('you can log arguments as well', 1, 2, 3);\n```\n\nTo register a callback:\n```\n  this.get('simpleLogger').registerCallback('info', (level, msg, args) =\u003e {\n    alert(`logged - level: ${level}; msg: ${msg}, arguments: ${args}`)\n  });\n```\n\nSupported log levels:\n* trace → `this.get('simpleLogger').trace(...);`\n* debug → `this.get('simpleLogger').debug(...);`\n* info → `this.get('simpleLogger').info(...);`\n* warn → `this.get('simpleLogger').warn(...);`\n* error → `this.get('simpleLogger').error(...);`\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannotationsro%2Fember-simple-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fannotationsro%2Fember-simple-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fannotationsro%2Fember-simple-logger/lists"}