opened
phroggyy
username_0
This PR aims to solve a problem I, and probably other developers, have faced in many projects: the lacking ability to customise the logger completely. Yes, we have `$app->configureMonologUsing()` which is great when you always want to configure monolog a certain way. However, if you want to i.e keep the default single/daily log, but add a JsonFormatter, you have to jump through hoops to reimplement what the `configureSingleHandler` already does.

To solve this, and to make Laravel's logging _slightly_ more testable, I've separated logging configuration into its own class, which can be overridden from `bootstrap/app.php` by simply calling

```
$app->configureLogWith(CustomConfigurator::class);
```

All original functionality is maintained, but now in a separate location. This will require no changes from the user, since behaviour is only changed if the configurator is overridden.
[5.5] Separate logging configuration to its own concern
issue
created
phroggyy
username_0
Considering renaming to `ConfigurationAdapter` after some input, but would like to hear some more opinions on it
comment