php-psr-log 3.0.0-1 source package in Ubuntu
Changelog
php-psr-log (3.0.0-1) experimental; urgency=medium [ Larry Garfield ] * Add return types. -- David Prévot <email address hidden> Sun, 18 Jul 2021 18:24:57 +0200
Upload details
- Uploaded by:
- Debian PHP PEAR Maintainers
- Uploaded to:
- Experimental
- Original maintainer:
- Debian PHP PEAR Maintainers
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Mantic | release | universe | misc | |
Lunar | release | universe | misc | |
Kinetic | release | universe | misc | |
Jammy | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
php-psr-log_3.0.0-1.dsc | 1.7 KiB | f48c2c74a83544386b976f0555ed4e1d0cc0f0b3bc4c97845ddb541393916ea1 |
php-psr-log_3.0.0.orig.tar.gz | 3.6 KiB | ec02d5c33e82e1efa18971750ec7f8d4d1589b12add75db60c7e7463471e12df |
php-psr-log_3.0.0-1.debian.tar.xz | 4.0 KiB | c1b2b1b028ef8f35e7c468f9d4005e082c12ced0e9b6ac4cc4597da701119d96 |
Available diffs
- diff from 1.1.4-2 to 3.0.0-1 (6.8 KiB)
No changes file available.
Binary packages built by this source
- php-psr-log: 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\InvalidArgument Exception 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.