public function __construct( ){ $log = DB :: listen( function( $sql ){ echo $sql; } ); } 转载于:https://www.cnblogs.com/codefly-sun/p/5864459.html