全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ] [  experimental  ]
[ 源代码: php-psr-log  ]

软件包:php-psr-log(3.0.2-1)

php-psr-log 的相关链接

Screenshot

Debian 的资源:

下载源码包 php-psr-log

维护小组:

外部的资源:

相似软件包:

试制(Experimental)软件包

警告:这个软件包来自于 experimental 发行版。这表示它很有可能表现出不稳定或者出现 bug ,甚至是导致资料损失。请务必在使用之前查阅 changelog 以及其他潜在的文档。

common interface for logging libraries

The main goal is to allow libraries to receive a Psr\Log\LoggerInterface object and write logs to it in a simple and universal way. Frameworks and CMSs that have custom needs MAY extend the interface for their own purpose, but SHOULD remain compatible with this document. This ensures that the third-party libraries an application uses can write to the centralized application logs.

The LoggerInterface exposes eight methods to write logs to the eight RFC 5424 levels (debug, info, notice, warning, error, critical, alert, emergency).

A ninth method, log, accepts a log level as first argument. Calling this method with one of the log level constants MUST have the same result as calling the level-specific method. Calling this method with a level not defined by this specification MUST throw a Psr\Log\InvalidArgumentException if the implementation does not know about the level. Users SHOULD NOT use a custom level without knowing for sure the current implementation supports it.

Note that this is not a logger of its own. It is merely an interface that describes a logger. See the specification for more details.

其他与 php-psr-log 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 php-psr-log

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.1 kB29.0 kB [文件列表]