-
Notifications
You must be signed in to change notification settings - Fork 51
Conversation
I started this feature few time ago! :) Perfect 👍 |
@Xerkus Could you do me a favor?
and then document both consuming BTW, LOVE the PR - very clean, very straight-forward, and a no-brainer. |
PSR-3 has a compliant test suite Could you add it? |
* @coversDefaultClass Zend\Log\Psr3LoggerAdapter | ||
* @covers ::<!public> | ||
*/ | ||
class Psr3LoggerAdapterTest extends TestCase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extend from Psr\Log\Test\LoggerInterfaceTest
will do |
Imported and adapted psr3 processor from monolog/monolog package
Added docs. |
- Added keys to all test data providers - Minor formatting updates, primarily to align arrays
Merged to develop for release with 2.6.0 |
This PR adds PSR-3 adapter for Zend\Log.
I had to add standalone adapter class as Psr logger interface can not be applied directly to Zend\Log\Logger since some methods are overlapping.
Also new Psr3 writer added to let Zend\Log write to any PSR-3 compatible loggers.