From b7d469fd7ba6ff4d78b56a6b33ee5fe1c0b59b78 Mon Sep 17 00:00:00 2001 From: Ahmed Alaa Date: Wed, 12 Mar 2025 17:20:31 +0200 Subject: [PATCH] Update Logging Documentation to Use handler_with --- logging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging.md b/logging.md index 67d9e25643c..970cd83bb5a 100644 --- a/logging.md +++ b/logging.md @@ -416,7 +416,7 @@ class CustomizeFormatter Monolog has a variety of [available handlers](https://github.com/Seldaek/monolog/tree/main/src/Monolog/Handler) and Laravel does not include a built-in channel for each one. In some cases, you may wish to create a custom channel that is merely an instance of a specific Monolog handler that does not have a corresponding Laravel log driver. These channels can be easily created using the `monolog` driver. -When using the `monolog` driver, the `handler` configuration option is used to specify which handler will be instantiated. Optionally, any constructor parameters the handler needs may be specified using the `with` configuration option: +When using the `monolog` driver, the `handler` configuration option is used to specify which handler will be instantiated. Optionally, any constructor parameters the handler needs may be specified using the `handler_with` configuration option: ```php 'logentries' => [