How to Install and Uninstall php-psr-log Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 10,2024

1. Install "php-psr-log" package

This is a short guide on how to install php-psr-log on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-psr-log

2. Uninstall "php-psr-log" package

Learn how to uninstall php-psr-log on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-psr-log $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-psr-log package on Ubuntu 21.10 (Impish Indri)

Package: php-psr-log
Architecture: all
Version: 1.1.3-2build1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 47
Depends: php-common
Filename: pool/universe/p/php-psr-log/php-psr-log_1.1.3-2build1_all.deb
Size: 8684
MD5sum: fab1336fd3488d31f352ecfd20a80957
SHA1: 42e035c10dea07cd64e81cde7d8ca391ac3ee213
SHA256: 0f9409990ca32b28426fabfc8e38d6174567eb776aaf3d38428c26f541aa7a70
SHA512: e6449372d2870452ba8eb19e45bc0227e1ef65fde67c22c0735ee4751268f446fd84fd154f9bd5e3b0194163cbcda0768cab9684e8724e6c29800f8b9d6a28a3
Homepage: https://www.php-fig.org/psr/psr-3/
Description-en: 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.
Description-md5: 61027d449ef97a57be423befc11f2312