Skip to content

Commit 89afcd7

Browse files
authored
Adding Conditionable to Logger (#46259)
* Adding Conditionable to Logger * Fixing styling * Importing the class
1 parent 57850ab commit 89afcd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Illuminate/Log/Logger.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
use Illuminate\Contracts\Support\Arrayable;
88
use Illuminate\Contracts\Support\Jsonable;
99
use Illuminate\Log\Events\MessageLogged;
10+
use Illuminate\Support\Traits\Conditionable;
1011
use Psr\Log\LoggerInterface;
1112
use RuntimeException;
1213

1314
class Logger implements LoggerInterface
1415
{
16+
use Conditionable;
17+
1518
/**
1619
* The underlying logger implementation.
1720
*

0 commit comments

Comments
 (0)