Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bidi47 committed May 17, 2024
1 parent 8c1127c commit a169107
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/book/v3/adding-config-provider.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Adding The Config Provider

* In `config/config.php` add an entry for the config provider `\Dot\Log\ConfigProvider::class`
* Make sure it is added before with the Application-Specific components, eg.:
* `\Frontend\App\ConfigProvider.php`,
* `\Admin\App\ConfigProvider::class`,
* `\MyProject\ConfigProvider::class` etc.
* Make sure it is added before with the Application-Specific components, eg.:
* `\Frontend\App\ConfigProvider.php`
* `\Admin\App\ConfigProvider::class`
* `\MyProject\ConfigProvider::class` etc.
* Add the logger configuration in an autoload config file, e.g. you can create `config/autoload/logger.global.php`. Follow the `Configuring the writer(s)` chapter for a simple working example.

Note: `Dot\Log\ConfigProvider` has an abstract factory `LoggerAbstractServiceFactory::class` which corresponds to the alias, not the class name. Instead of requesting `Laminas\Log\Logger::class` from the container, use `dot-log.my_logger` (or just `my_logger` if using laminas-log).
2 changes: 1 addition & 1 deletion docs/book/v3/filtering-log-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The following conforms to the `PSR-3: Logger Interface` document.

The log levels are in order of priority/importance:
The log levels are in order of priority/importance:

* emergency (0)
* alert (1)
Expand Down

0 comments on commit a169107

Please sign in to comment.