[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8176":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":8,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":8,"pushedAt":8,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":15,"starSnapshotCount":15,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},8176,"log","php-fig\u002Flog","php-fig",null,"","PHP",10440,189,60,7,0,1,5,64.84,"MIT License",false,"master",[23],"psr-3","2026-06-12 04:00:37","PSR Log\n=======\n\nThis repository holds all interfaces\u002Fclasses\u002Ftraits related to\n[PSR-3](https:\u002F\u002Fgithub.com\u002Fphp-fig\u002Ffig-standards\u002Fblob\u002Fmaster\u002Faccepted\u002FPSR-3-logger-interface.md).\n\nNote that this is not a logger of its own. It is merely an interface that\ndescribes a logger. See the specification for more details.\n\nInstallation\n------------\n\n```bash\ncomposer require psr\u002Flog\n```\n\nUsage\n-----\n\nIf you need a logger, you can use the interface like this:\n\n```php\n\u003C?php\n\nuse Psr\\Log\\LoggerInterface;\n\nclass Foo\n{\n    private $logger;\n\n    public function __construct(LoggerInterface $logger = null)\n    {\n        $this->logger = $logger;\n    }\n\n    public function doSomething()\n    {\n        if ($this->logger) {\n            $this->logger->info('Doing work');\n        }\n           \n        try {\n            $this->doSomethingElse();\n        } catch (Exception $exception) {\n            $this->logger->error('Oh no!', array('exception' => $exception));\n        }\n\n        \u002F\u002F do something useful\n    }\n}\n```\n\nYou can then pick one of the implementations of the interface to get a logger.\n\nIf you want to implement the interface, you can require this package and\nimplement `Psr\\Log\\LoggerInterface` in your code. Please read the\n[specification text](https:\u002F\u002Fgithub.com\u002Fphp-fig\u002Ffig-standards\u002Fblob\u002Fmaster\u002Faccepted\u002FPSR-3-logger-interface.md)\nfor details.\n","php-fig\u002Flog 是一个定义了 PSR-3 日志接口的 PHP 项目。它提供了一套标准的日志记录接口，使得开发者能够轻松地在应用程序中集成日志功能，并且可以灵活选择不同的日志实现库。该项目不直接提供具体的日志记录功能，而是通过定义统一的接口来促进不同日志库之间的互换性。适合于需要标准化日志处理方式、提高代码可维护性和灵活性的 PHP 项目场景。",2,"2026-06-11 03:16:35","top_language"]