\app\utilApiLog

Summary

Methods
Properties
Constants
setAppInfo()
setHeader()
setApiInfo()
setUserInfo()
getUserInfo()
setRequest()
setRequestAfterFilter()
setResponse()
save()
writeLog()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$appInfo
$apiInfo
$request
$requestAfterFilter
$response
$header
$userInfo
$separator
N/A

Properties

$appInfo

$appInfo : 

Type

$apiInfo

$apiInfo : 

Type

$request

$request : 

Type

$requestAfterFilter

$requestAfterFilter : 

Type

$response

$response : 

Type

$header

$header : 

Type

$userInfo

$userInfo : 

Type

$separator

$separator : 

Type

Methods

setAppInfo()

setAppInfo(  $data) 

Parameters

$data

setHeader()

setHeader(  $data) 

Parameters

$data

setApiInfo()

setApiInfo(  $data) 

Parameters

$data

setUserInfo()

setUserInfo(  $data) 

Parameters

$data

getUserInfo()

getUserInfo() 

setRequest()

setRequest(  $data) 

Parameters

$data

setRequestAfterFilter()

setRequestAfterFilter(  $data) 

Parameters

$data

setResponse()

setResponse(  $data,   $code = '') 

Parameters

$data
$code

save()

save() 

writeLog()

writeLog(string  $log, string  $type = 'sql', string  $filePath = '') 

Parameters

string $log

被记录的内容

string $type

日志文件名称

string $filePath