File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 * https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/architecture.html#middlewares
8484 */
8585 'middlewares ' => [
86- // Doctrine\DBAL\Logging\Middleware::class
86+ Doctrine \DBAL \Logging \Middleware::class
8787 ]
8888 ],
8989 'model ' => [
149149 * https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/architecture.html#middlewares
150150 */
151151 'middlewares ' => [
152- // Doctrine\DBAL\Logging\Middleware::class
152+ Doctrine \DBAL \Logging \Middleware::class
153153 ]
154154 ]
155155 ],
237237 'custom_string_functions ' => [
238238 'FIELD ' => DoctrineExtensions \Query \Mysql \Field::class,
239239 ],
240+ /*
241+ |--------------------------------------------------------------------------
242+ | Enable query logging with laravel file logging,
243+ | debugbar, clockwork or an own implementation.
244+ | Setting it to false, will disable logging
245+ |
246+ | Available:
247+ | - LaravelDoctrine\ORM\Loggers\LaravelDebugbarLogger
248+ | - LaravelDoctrine\ORM\Loggers\ClockworkLogger
249+ | - LaravelDoctrine\ORM\Loggers\FileLogger
250+ |--------------------------------------------------------------------------
251+ */
252+ 'logger ' => env ('DOCTRINE_LOGGER ' , false ),
240253 /*
241254 |--------------------------------------------------------------------------
242255 | Cache
You can’t perform that action at this time.
0 commit comments