File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
namespace Guanguans \LaravelExceptionNotify \Listeners \Reported ;
12
12
13
13
use Guanguans \LaravelExceptionNotify \Events \ReportedEvent ;
14
- use Illuminate \Log \Logger ;
14
+ use Psr \Log \LoggerInterface ;
15
15
16
16
class LogReportResultListener
17
17
{
18
18
/**
19
- * @var \Illuminate \Log\Logger
19
+ * @var \Psr \Log\LoggerInterface
20
20
*/
21
21
protected $ logger ;
22
22
23
- public function __construct (Logger $ logger )
23
+ public function __construct (LoggerInterface $ logger )
24
24
{
25
25
$ this ->logger = $ logger ;
26
26
}
Original file line number Diff line number Diff line change 11
11
namespace Guanguans \LaravelExceptionNotify \Listeners \Reporting ;
12
12
13
13
use Guanguans \LaravelExceptionNotify \Events \ReportingEvent ;
14
- use Illuminate \Log \Logger ;
14
+ use Psr \Log \LoggerInterface ;
15
15
16
16
class LogReportListener
17
17
{
18
18
/**
19
- * @var \Illuminate \Log\Logger
19
+ * @var \Psr \Log\LoggerInterface
20
20
*/
21
21
protected $ logger ;
22
22
23
- public function __construct (Logger $ logger )
23
+ public function __construct (LoggerInterface $ logger )
24
24
{
25
25
$ this ->logger = $ logger ;
26
26
}
You can’t perform that action at this time.
0 commit comments