{"id":14966453,"url":"https://github.com/yiisoft/yii2-psr-log-source","last_synced_at":"2025-10-19T09:31:22.800Z","repository":{"id":57750559,"uuid":"482071226","full_name":"yiisoft/yii2-psr-log-source","owner":"yiisoft","description":"PSR compatible logger that routes all messages to a Yii2 Logger","archived":false,"fork":false,"pushed_at":"2023-02-20T07:59:30.000Z","size":11,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-13T23:10:35.136Z","etag":null,"topics":["log","logging","psr","yii2"],"latest_commit_sha":null,"homepage":"https://www.yiiframework.com/","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/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"tidelift":"packagist/yiisoft/yii2-psr-log-source"}},"created_at":"2022-04-15T20:01:53.000Z","updated_at":"2024-01-29T18:21:50.000Z","dependencies_parsed_at":"2023-09-24T12:10:32.566Z","dependency_job_id":null,"html_url":"https://github.com/yiisoft/yii2-psr-log-source","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"89622ff6f7db7dc8717418f0a227dce8b791eda8"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-psr-log-source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-psr-log-source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-psr-log-source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-psr-log-source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-psr-log-source/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869846,"owners_count":16555206,"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":["log","logging","psr","yii2"],"created_at":"2024-09-24T13:36:24.473Z","updated_at":"2025-10-19T09:31:22.250Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-psr-log-source"],"categories":[],"sub_categories":[],"readme":"# Yii2 Psr Log Source\n\nThis simple library implements a PSR compatible logger that routes all messages to a Yii Logger.\nUse this if you have a library that needs such a logger and you want to forward the messages to your existing Logger.\n\n## Logger adapter\n\nThe `Logger` adapter class takes a Yii `Logger` object and implements the `LoggerInterface`.\n\n## DynamicLogger\n\nSince Yii2 uses mutability a lot, the `Logger` adapter might hold a reference to an old Yii `Logger`. To work properly\nwith the Service Locator pattern we must use it on every call. `DynamicLogger` does this while internally using the `Logger`\nand recreating it when needed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-psr-log-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-psr-log-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-psr-log-source/lists"}