SYS_Log.find() method
查找条目
Signature
typescript
public find(message: string | Array<string | { text: string; attr?: undefined | { id?: undefined | string; path?: undefined | string; sheet?: undefined | string; pcbid?: undefined | string; type?: undefined | string } }>, types?: ESYS_LogType | Array<ESYS_LogType>): Promise<Array<ISYS_LogLine>>;1
Parameters
Parameter | Type | Description |
|---|---|---|
message | string | Array<string | { text: string; attr?: undefined | { id?: undefined | string; path?: undefined | string; sheet?: undefined | string; pcbid?: undefined | string; type?: undefined | string } }> | 查找内容 |
types | ESYS_LogType | Array<ESYS_LogType> | (Optional) 日志类型数组,可以在指定的日志类型内查找 |
Returns
Promise<Array<ISYS_LogLine>>
符合查找条件的日志条目数组
Remarks
如果日志面板处于打开状态,查找操作会同时在前端展现