From fa3a4e440f6daf241772331eaac322f3e0447750 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 11 May 2015 14:59:59 +0200 Subject: Let composer manage the vendor and lock files --- vendor/psr/log/README.md | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 vendor/psr/log/README.md (limited to 'vendor/psr/log/README.md') diff --git a/vendor/psr/log/README.md b/vendor/psr/log/README.md deleted file mode 100644 index 574bc1c..0000000 --- a/vendor/psr/log/README.md +++ /dev/null @@ -1,45 +0,0 @@ -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. - -Usage ------ - -If you need a logger, you can use the interface like this: - -```php -logger = $logger; - } - - public function doSomething() - { - if ($this->logger) { - $this->logger->info('Doing work'); - } - - // 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. -- cgit v1.2.3-70-g09d2