Add pear modules, mail and net_smtp via composer (#93)
Add pear modules, mail and net_smtp via composer, remove php 5.6 build due to phpunit 6
This commit is contained in:
12
lib/composer/vendor/consolidation/log/README.md
vendored
12
lib/composer/vendor/consolidation/log/README.md
vendored
@@ -1,16 +1,16 @@
|
||||
# Consolidation\Log
|
||||
|
||||
Improved Psr-3 / Psr\Log logger based on Symfony Console components.
|
||||
Improved [PSR-3](http://www.php-fig.org/psr/psr-3/) [Psr\Log](https://github.com/php-fig/log) logger based on Symfony Console components.
|
||||
|
||||
[](https://circleci.com/gh/consolidation-org/log) [](https://scrutinizer-ci.com/g/consolidation-org/log/?branch=master) [](https://packagist.org/packages/consolidation/log) [](https://packagist.org/packages/consolidation/log) [](https://packagist.org/packages/consolidation/log) [](https://packagist.org/packages/consolidation/log)
|
||||
[](https://travis-ci.org/consolidation-org/log) [](https://scrutinizer-ci.com/g/consolidation-org/log/?branch=master) [](https://coveralls.io/github/consolidation-org/log?branch=master) [](https://packagist.org/packages/consolidation/log)
|
||||
|
||||
## Component Status
|
||||
|
||||
In use in https://github.com/Codegyre/Robo
|
||||
In use in [Robo](https://github.com/Codegyre/Robo).
|
||||
|
||||
## Motivation
|
||||
|
||||
Consolication\Log provides a Psr-3 compatible logger that provides styled log output to the standard error (stderr) stream. By default, styling is provided by the SymfonyStyle class from the Symfony Console component; however, alternative stylers may be provided if desired.
|
||||
Consolidation\Log provides a Psr-3 compatible logger that provides styled log output to the standard error (stderr) stream. By default, styling is provided by the SymfonyStyle class from the Symfony Console component; however, alternative stylers may be provided if desired.
|
||||
|
||||
## Usage
|
||||
```
|
||||
@@ -18,7 +18,9 @@ $logger = new \Consolidation\Log\Logger($output);
|
||||
$logger->setLogOutputStyler(new LogOutputStyler()); // optional
|
||||
$logger->warning('The file {name} does not exist.', ['name' => $filename]);
|
||||
```
|
||||
n.b. Substitution of replacements, such as `{name}` in the example above, is not required by Psr-3' however, this is often done (e.g. in the Symfony Console logger).
|
||||
String interpolation -- that is, the substitution of replacements, such as `{name}` in the example above, is not required by Psr-3, and is not implemented by default in the Psr\Log project. However, it is recommended by PRS-3, and is often done, e.g. in the Symfony Console logger.
|
||||
|
||||
Consolidation\Log supports string interpolation.
|
||||
|
||||
## Comparison to Existing Solutions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user