diff --git a/docs/book/v3/adding-config-provider.md b/docs/book/v3/adding-config-provider.md index eeb75d2..e591844 100644 --- a/docs/book/v3/adding-config-provider.md +++ b/docs/book/v3/adding-config-provider.md @@ -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). diff --git a/docs/book/v3/filtering-log-messages.md b/docs/book/v3/filtering-log-messages.md index 8171d32..32c185f 100644 --- a/docs/book/v3/filtering-log-messages.md +++ b/docs/book/v3/filtering-log-messages.md @@ -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)