{"id":20114635,"url":"https://github.com/mpdf/psr-log-aware-trait","last_synced_at":"2025-08-20T16:31:32.782Z","repository":{"id":160800777,"uuid":"635625873","full_name":"mpdf/psr-log-aware-trait","owner":"mpdf","description":"Trait to allow support of different psr/log versions","archived":false,"fork":false,"pushed_at":"2023-05-03T12:17:55.000Z","size":6,"stargazers_count":37,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"3.x","last_synced_at":"2024-04-24T03:15:13.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/mpdf.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":"2023-05-03T05:24:01.000Z","updated_at":"2024-06-18T18:28:41.406Z","dependencies_parsed_at":"2023-07-12T04:00:39.587Z","dependency_job_id":null,"html_url":"https://github.com/mpdf/psr-log-aware-trait","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fpsr-log-aware-trait","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fpsr-log-aware-trait/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fpsr-log-aware-trait/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpdf%2Fpsr-log-aware-trait/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpdf","download_url":"https://codeload.github.com/mpdf/psr-log-aware-trait/tar.gz/refs/heads/3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230438185,"owners_count":18225870,"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":[],"created_at":"2024-11-13T18:30:58.543Z","updated_at":"2024-12-19T13:07:26.342Z","avatar_url":"https://github.com/mpdf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# psr-log-aware-trait\n\nTrait to allow support of different psr/log versions. \n\nBy including this PsrLogAwareTrait, you can allow composer to resolve your PsrLogger version for you. \n\n## Use\n\nRequire the trait. \n\n        composer require chromatic/psr-log-aware-trait\n\n\nIn your code, you no longer have to set a $logger property on your classes, since that comes with the trait, and you do not need to implement the `function setLogger()` method, since that also comes along with the trait. \n\n```php\nuse PsrLogAwareTrait;\n```\n        \nWill allow you to call `setLogger()` in your classes and fulfil the requirements of the PsrLoggerAwareInterface implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdf%2Fpsr-log-aware-trait","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpdf%2Fpsr-log-aware-trait","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpdf%2Fpsr-log-aware-trait/lists"}