Skip to content

Commit 4db250b

Browse files
committed
ICL: Readme fixes.
1 parent 69615ee commit 4db250b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ In progress...
164164
165165
#### Custom location
166166
167-
Sometimes it's needed to change location of the log files, for example, you want it to be dependent on some command's argument.
167+
Sometimes it's needed to change location of the log files. For example, you want it to be dependent on some command's argument.
168168
If that is your case, just override `getLogPath` method in your command class:
169169
170170
```php
@@ -174,9 +174,7 @@ class Foo extends Command
174174
175175
protected function getLogPath()
176176
{
177-
$name = Str::replaceFirst(':', '/', $this->getName());
178-
$baz = $this->argument('baz');
179-
return storage_path("logs/{$name}/{$baz}/date.log");
177+
return storage_path("logs/anything/you/want/date.log");
180178
}
181179
182180
// ...

0 commit comments

Comments
 (0)