D7net Mini Sh3LL v1
Current File : //libx32/../share/snapd/../locale/ia/../../doc/info/../libroken18-heimdal/../libnfnetlink0/../dpkg-dev/../openssh-sftp-server/../libitm1/../dash/../usbutils/../diffutils/../libcdt5/../libjbig0/../libtool/../grub2-common/../libdconf1/../gawk/../tcpdump/../libfdisk1/../whiptail/../liblmdb0/../fuse/../python3-gi/../pci.ids/../php7.4-readline/../iw/../librtmp1/../cron/../libsoup2.4-1/../libann0/../libncursesw6/../libpython3.8/../ltrace/../libpsl5/../libelf1/../libnss3/../m4/../libmpdec2/../composer/articles/../../sudo/../dpkg/../libmagic-mgc/../libseccomp2/../unzip/../iptables/../libfl2/../hostname/../../doc/libsgutils2-2/../gdisk/../hdparm/../libpopt0/../libsctp1/../libcbor0.6/../byobu/../libjansson4/../tar/../libseccomp2/../libssl1.1/../mdadm/../../perl5/../doc/modemmanager/../python3-blinker/../libmpfr6/../gpgconf/../libmount1/../libunwind8/../libisns0/../snapd/../modemmanager/../php7.4-mbstring/../php-psr-log/README.md |
PSR Log
=======
This repository holds all interfaces/classes/traits related to
[PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md).
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.
Installation
------------
```bash
composer require psr/log
```
Usage
-----
If you need a logger, you can use the interface like this:
```php
<?php
use Psr\Log\LoggerInterface;
class Foo
{
private $logger;
public function __construct(LoggerInterface $logger = null)
{
$this->logger = $logger;
}
public function doSomething()
{
if ($this->logger) {
$this->logger->info('Doing work');
}
try {
$this->doSomethingElse();
} catch (Exception $exception) {
$this->logger->error('Oh no!', array('exception' => $exception));
}
// do something useful
}
}
```
You can then pick one of the implementations of the interface to get a logger.
If you want to implement the interface, you can require this package and
implement `Psr\Log\LoggerInterface` in your code. Please read the
[specification text](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md)
for details.
AnonSec - 2021 | Recode By D7net