Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Use correct name for PsrLoggerAbstractAdapterFactory in documentation #23

Merged
merged 1 commit into from
Oct 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/book/service-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,22 @@ Because the main filter is `Priority`, it can be set directly too:
];
```

## PsrLoggerAbstractServiceFactory
## PsrLoggerAbstractAdapterFactory

As with the [`LoggerAbstractServiceFactory` above](#loggerabstractservicefactory),
you can use `PsrLoggerAbstractServiceFactory` to create [PSR-3-conforming
you can use `PsrLoggerAbstractAdapterFactory` to create [PSR-3-conforming
logger instances](psr3.md). Register it as an abstract factory in your
configuration; as an example:

```php
// module.config.php

use Laminas\Log\PsrLoggerAbstractServiceFactory;
use Laminas\Log\PsrLoggerAbstractAdapterFactory;

return [
'service_manager' => [
'abstract_factories' => [
PsrLoggerAbstractServiceFactory::class,
PsrLoggerAbstractAdapterFactory::class,
],
],
];
Expand Down