Skip to content

Commit 7688790

Browse files
committed
update readme
1 parent 4a843f3 commit 7688790

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

README.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Antidot Logger
22
==============
33

4-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/?branch=master)
5-
[![Code Coverage](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/?branch=master)
6-
[![Build Status](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/build.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/build-status/master)
7-
[![Code Intelligence Status](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)
4+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/?branch=2.x.x)
5+
[![Code Coverage](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/?branch=2.x.x)
6+
[![Build Status](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/build.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/build-status/2.x.x)
7+
[![Code Intelligence Status](https://scrutinizer-ci.com/g/antidot-framework/antidot-logger/badges/code-intelligence.svg?b=2.x.x)](https://scrutinizer-ci.com/code-intelligence)
88
![Maintainability](https://api.codeclimate.com/v1/badges/dd5349c19f7991e3fa95/maintainability)
99

1010
Application PSR-15 logger middleware:
@@ -75,23 +75,3 @@ class RequestLoggerMiddlewareFactory
7575
}
7676

7777
````
78-
79-
### Using factory:
80-
81-
#### Config
82-
83-
See [wshafer/psr11-monolog](https://github.com/wshafer/psr11-monolog) for complete config reference, it allows using some different handlers
84-
85-
#### factory
86-
87-
````php
88-
<?php
89-
90-
use Antidot\Logger\Container\MonologFactory;
91-
use Psr\Log\LoggerInterface;
92-
93-
$factory = new MonologFactory();
94-
95-
$logger = $factory->__invoke($container);
96-
$container->set(LoggerInterface::class, $logger);
97-
````

0 commit comments

Comments
 (0)