{"id":18929377,"url":"https://github.com/thecodingmachine/utils.log.psr.multi-logger","last_synced_at":"2025-06-10T14:37:33.737Z","repository":{"id":15667762,"uuid":"18405188","full_name":"thecodingmachine/utils.log.psr.multi-logger","owner":"thecodingmachine","description":"This package contains a PSR-3 compatible logger that wrap a set of loggers","archived":false,"fork":false,"pushed_at":"2024-07-25T12:34:08.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"1.0","last_synced_at":"2025-04-10T06:41:00.004Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodingmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-03T14:05:25.000Z","updated_at":"2024-07-25T12:33:24.000Z","dependencies_parsed_at":"2022-07-22T17:02:16.271Z","dependency_job_id":null,"html_url":"https://github.com/thecodingmachine/utils.log.psr.multi-logger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.log.psr.multi-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.log.psr.multi-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.log.psr.multi-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodingmachine%2Futils.log.psr.multi-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodingmachine","download_url":"https://codeload.github.com/thecodingmachine/utils.log.psr.multi-logger/tar.gz/refs/heads/1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249097804,"owners_count":21212356,"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-08T11:32:15.122Z","updated_at":"2025-04-15T15:30:54.548Z","avatar_url":"https://github.com/thecodingmachine.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"What is this package\n====================\n\nThis package contains a PSR-3 compliant composite logger class.\n\nIn practice, this class does not log anything but delegates logging to one or many PSR-3 compliant loggers.\nThis is useful when you want to call multiple loggers at one.\n\nInstall\n-------\n\n```sh\ncomposer require mouf/utils.log.psr.multi-logger\n```\n\nUsage\n-----\n\nSimply pass an array of loggers to the multi-logger:\n\n```php\n$logger1 = new MyLogger();\n$logger2 = new AnotherLogger();\n\n$multiLogger = new Mouf\\Utils\\Log\\Psr\\MultiLogger([ $logger1, $logger2 ]);\n```\n\nYou can also add loggers using the `addLogger` method:\n\n```php\n$logger1 = new MyLogger();\n$logger2 = new AnotherLogger();\n\n$multiLogger = new Mouf\\Utils\\Log\\Psr\\MultiLogger();\n$multiLogger-\u003eaddLogger($logger1);\n$multiLogger-\u003eaddLogger($logger2);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.log.psr.multi-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodingmachine%2Futils.log.psr.multi-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodingmachine%2Futils.log.psr.multi-logger/lists"}