
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@lingxiteam/engine-businesscomponent
Advanced tools
## 网络日志记录 debugPrinter.networklog/debugPrinter.networkfinish
开始时间/结束时间会由plog库内置按照networklog或networkfinish自行处理
// 请求发起时
LogManager.trigger('debugPrinter.networklog', {
reqSeq, // 请求的标识,必传,当触发networkfinish时需要以此来寻找对应请求,请求标识不限格式,也可以是某个自增序列,但需要保证唯一
url, // 网络请求地址
options, // 本次请求的fetch设置对象,包括method、header、param这些东西,供网络工具二次处理
cmddata: { // 如果本次网络请求是由指令发起,可以传入额外的信息(用于定位是哪条指令),非必传
cmd, // 本条指令记录对象
appId, // 这些ID用于定位是哪个页面
pageId,
busiCompId,
}
});
// 请求完成时
LogManager.trigger('debugPrinter.networkfinish', {
reqSeq, // 请求的标识,必传,以对应发起时的请求
resultData,// 请求结果的数据,
resultCode,// 请求结果状态,'success'或'error',
});
通用。指令系统本身输出的错误信息会统一抛出该事件。具体页面运行态监听这个事件来决定是弹出错误信息弹窗还是什么
LogManager.trigger('cmdplayer.errorMsg', { ...errorOptions });
FAQs
## 网络日志记录 debugPrinter.networklog/debugPrinter.networkfinish
We found that @lingxiteam/engine-businesscomponent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.