所以我有一个拉威尔控制器:
class YeahMyController extends BaseController {
public function getSomething() {
Console::info('mymessage'); // <-- what do I put here?
return 'yeahoutputthistotheresponse';
}
}
目前,我正在使用artisan(在后台运行PHP的内置开发web服务器)运行该应用程序:
php artisan serve
我想将控制台消息记录到artisan流程的STDOUT
管道中.