Skip to content

Commit 6fa3269

Browse files
author
Bohdan Khrupa
committed
added laravel 6.x.x
1 parent 5d35a6a commit 6fa3269

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88
{
99
"name": "Nazar Saikevych",
1010
"email": "[email protected]"
11+
},
12+
{
13+
"name": "Bohdan Khrupa",
14+
"email": "[email protected]"
1115
}
1216
],
1317
"require": {
14-
"php": ">=7.0.0",
15-
"laravel/framework": "5.4.*|5.5.*|5.6.*",
16-
"laravel/tinker": "~1.0"
18+
"php": ">=7.2.5",
19+
"laravel/framework": "6.*.*"
1720
},
1821
"autoload": {
1922
"psr-4": {

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected function writeLogs()
4242
$fullSql = vsprintf($sql, $query->bindings);
4343

4444
// Start logging
45-
$monolog->addInfo('SQL', array('time' => $query->time, 'query' => $fullSql));
45+
$monolog->addRecord(Logger::INFO, 'SQL', array('time' => $query->time, 'query' => $fullSql));
4646
});
4747
}
4848
}

0 commit comments

Comments
 (0)