Skip to content

Commit 8f11e1d

Browse files
committed
ICL: Loggable trait initial.
1 parent 14fd85d commit 8f11e1d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Loggable.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
namespace Illuminated\Console;
44

5+
use Symfony\Component\Console\Input\InputInterface;
6+
use Symfony\Component\Console\Output\OutputInterface;
7+
58
trait Loggable
69
{
10+
protected function initialize(InputInterface $input, OutputInterface $output)
11+
{
12+
$this->initializeLogging();
13+
14+
parent::initialize($input, $output);
15+
}
16+
17+
private function initializeLogging()
18+
{
19+
dd('logging');
20+
}
721
}

0 commit comments

Comments
 (0)