@@ -217,15 +217,15 @@ public function run(string $command = '')
217217
218218 // if not input sub-command, render group help.
219219 if (!$ command ) {
220- $ this ->logf (Console:: VERB_DEBUG , 'sub-command is empty, display help for the group: %s ' , self ::getName ());
220+ $ this ->debugf ( 'sub-command is empty, display help for the group: %s ' , self ::getName ());
221221 return $ this ->showHelp ();
222222 }
223223
224224 $ command = $ this ->getRealCommandName ($ command );
225225
226226 // convert 'boo-foo' to 'booFoo'
227227 $ this ->action = Str::camelCase ($ command );
228- $ this ->logf (Console:: VERB_DEBUG , 'will run the group action: %s, sub-command: %s ' , $ this ->action , $ command );
228+ $ this ->debugf ( 'will run the group action: %s, sub-command: %s ' , $ this ->action , $ command );
229229
230230 // do running
231231 return parent ::run ($ command );
@@ -277,7 +277,7 @@ final public function execute($input, $output)
277277 $ group = static ::getName ();
278278
279279 if ($ this ->isDisabled ($ action )) {
280- $ this ->logf (Console:: VERB_DEBUG , 'command %s is disabled on the group %s ' , $ action , $ group );
280+ $ this ->debugf ( 'command %s is disabled on the group %s ' , $ action , $ group );
281281 $ output ->error (sprintf ("Sorry, The command '%s' is invalid in the group '%s'! " , $ action , $ group ));
282282 return -1 ;
283283 }
@@ -291,7 +291,7 @@ final public function execute($input, $output)
291291 if (method_exists ($ this , $ beforeFunc = 'before ' . ucfirst ($ action ))) {
292292 $ beforeOk = $ this ->$ beforeFunc ($ input , $ output );
293293 if ($ beforeOk === false ) {
294- $ this ->logf (Console:: VERB_DEBUG , '%s() returns FALSE, interrupt processing continues ' , $ beforeFunc );
294+ $ this ->debugf ( '%s() returns FALSE, interrupt processing continues ' , $ beforeFunc );
295295 return 0 ;
296296 }
297297 }
@@ -309,11 +309,11 @@ final public function execute($input, $output)
309309
310310 // if user custom handle not found logic.
311311 if ($ this ->onNotFound ($ action )) {
312- $ this ->logf (Console:: VERB_DEBUG , 'user custom handle the action:%s not found logic ' , $ action );
312+ $ this ->debugf ( 'user custom handle the action:%s not found logic ' , $ action );
313313 return 0 ;
314314 }
315315
316- $ this ->logf (Console:: VERB_DEBUG , 'action:%s not found on the group controller ' , $ action );
316+ $ this ->debugf ( 'action:%s not found on the group controller ' , $ action );
317317
318318 // if you defined the method '$this->notFoundCallback' , will call it
319319 // if (($notFoundCallback = $this->notFoundCallback) && method_exists($this, $notFoundCallback)) {
0 commit comments