Skip to content

Commit cb275c5

Browse files
committed
ICL: Readme fixes.
1 parent 0c2c410 commit cb275c5

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,19 @@ Provides logging and email notifications for Laravel console commands.
1616
composer require illuminated/console-logger
1717
```
1818

19-
2. To be continued...
19+
2. Use `Illuminated\Console\Loggable` trait in your console command class:
20+
```php
21+
namespace App\Console\Commands;
22+
23+
use Illuminate\Console\Command;
24+
use Illuminated\Console\Loggable;
25+
26+
class Foo extends Command
27+
{
28+
use Loggable;
29+
30+
// ...
31+
}
32+
```
33+
34+
3. Now your command is... To be continued...

0 commit comments

Comments
 (0)