{"id":15068543,"url":"https://github.com/bitexpert/slf4psrlog","last_synced_at":"2025-07-19T10:05:22.199Z","repository":{"id":33382722,"uuid":"37027691","full_name":"bitExpert/slf4psrlog","owner":"bitExpert","description":"Simple Logging Facade for Loggers implementing PSR-3 logging interface.","archived":false,"fork":false,"pushed_at":"2024-04-06T09:08:53.000Z","size":111,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-18T21:48:51.482Z","etag":null,"topics":["logging","logging-facade","php7","psr-3"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitExpert.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-07T18:41:56.000Z","updated_at":"2024-04-06T06:23:16.000Z","dependencies_parsed_at":"2024-06-19T17:12:29.777Z","dependency_job_id":"b3e89281-7a8b-4137-a161-e8aa5ac861d6","html_url":"https://github.com/bitExpert/slf4psrlog","commit_stats":{"total_commits":38,"total_committers":1,"mean_commits":38.0,"dds":0.0,"last_synced_commit":"a40cd049c01c68e359cfb82d62f32146af4c308d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bitExpert/slf4psrlog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitExpert%2Fslf4psrlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitExpert%2Fslf4psrlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitExpert%2Fslf4psrlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitExpert%2Fslf4psrlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitExpert","download_url":"https://codeload.github.com/bitExpert/slf4psrlog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitExpert%2Fslf4psrlog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962526,"owners_count":23689830,"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":["logging","logging-facade","php7","psr-3"],"created_at":"2024-09-25T01:38:02.428Z","updated_at":"2025-07-12T08:32:43.931Z","avatar_url":"https://github.com/bitExpert.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slf4psrlog\nThe Simple Logging Facade for PSR-3 loggers serves as a simple facade or abstraction for the various logging frameworks\nimplementing the PSR-3 logging standard. To achieve true interoperability, your own code should not depend on a specific\nlibrary implementing the PSR-3 logging standard.\n\n[![Build Status](https://travis-ci.org/bitExpert/slf4psrlog.svg?branch=master)](https://travis-ci.org/bitExpert/slf4psrlog)\n[![Coverage Status](https://coveralls.io/repos/github/bitExpert/slf4psrlog/badge.svg?branch=master)](https://coveralls.io/github/bitExpert/slf4psrlog?branch=master)\n[![Mastodon Follow](https://img.shields.io/mastodon/follow/109408681246972700?domain=https://rheinneckar.social)](https://rheinneckar.social/@bitexpert)\n\nInstallation\n------------\n\nThe preferred way of installing `bitexpert/slf4psrlog` is through Composer. Simply add `bitexpert/slf4psrlog` as a \ndependency:\n\n```\ncomposer.phar require bitexpert/slf4psrlog\n```\n\nExample\n-------\n\nConfigure a callable to return a logger instance:\n\n```php\n    \\bitExpert\\Slf4PsrLog\\LoggerFactory::registerFactoryCallback(function($channel) {\n        // return configured PSR-3 logger instance\n    });\n```\n\nIn your classes create a logger instance by calling:\n\n```php\n     $logger = \\bitExpert\\Slf4PsrLog\\LoggerFactory::getLogger(__CLASS__);\n```\n\nThe \\bitExpert\\Slf4PsrLog\\LoggerFactory will delegate the call to the callback function which needs to return an instance\nof a PSR-3 logger.\n\nLicense\n-------\n\nslf4psrlog is released under the Apache 2.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitexpert%2Fslf4psrlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitexpert%2Fslf4psrlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitexpert%2Fslf4psrlog/lists"}