1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 03:10:14 +02:00

FileLogger: Add option to log errors only (#351)

This commit is contained in:
Enrico Dias
2020-02-09 13:12:55 -03:00
committed by David Grudl
parent 2f857c28d6
commit 8c761eac5c
3 changed files with 13 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ $dibi = new Dibi\Connection([
// enable query logging to this file
'profiler' => [
'file' => 'log/log.sql',
'errorsOnly' => false,
],
]);