\think\traceConsole

浏览器调试输出

Summary

Methods
Properties
Constants
__construct()
output()
No public properties found
No constants found
console()
getFileInfo()
$config
N/A
No private methods found
No private properties found
N/A

Properties

$config

$config

Methods

__construct()

__construct(array  $config = []) : mixed

Parameters

array $config

Returns

mixed —

output()

output(\think\App  $app, \think\Response  $response, array  $log = []) : string|bool

调试输出接口

Parameters

\think\App $app
\think\Response $response

Response对象

array $log

日志信息

Returns

string|bool —

console()

console(string  $type, mixed  $msg) : mixed

Parameters

string $type
mixed $msg

Returns

mixed —

getFileInfo()

getFileInfo() : int|array

获取文件加载信息

Returns

int|array —