dialog:符合PSR-3的记录器

时间:2021-05-14 04:24:52
【文件属性】:
文件名称:dialog:符合PSR-3的记录器
文件大小:30KB
文件格式:ZIP
更新时间:2021-05-14 04:24:52
PHP 对话 符合PSR-3的记录器 Dialog是一个简单且非常可扩展的PSR-3兼容记录器。 它是模块化的,并允许每个记录器实例使用多个日志处理程序。 这允许同时登录文件,在屏幕上显示,写入数据库等! 同样,它的灵活结构Handlers也接受格式化程序,允许您随意格式化日志消息行。 最后,甚至可以更改遵循PSR-3准则的“模板”引擎(即“这是{amount}”)(当然,使用自定义引擎创建的记录器将不符合PSR-3)。 范例 <?php // Pick the Engine (i.e. template/placeholder matcher, usually the Psr3Engine // provided with the package will suffice) $ engine = new \ Dialog \ Message \ Psr3Engine ( new \ Di
【文件预览】:
dialog-master
----.gitignore(43B)
----src()
--------Dialog()
----.travis.yml(197B)
----LICENCE(1KB)
----composer.json(682B)
----composer.lock(30KB)
----spec()
--------Dialog()
----README.md(3KB)

网友评论