MCPcopy
hub / github.com/ys1231/MoveCertificate / refreshLogTab

Function refreshLogTab

webdev/src/main.ts:307–318  ·  view source on GitHub ↗

* 刷新运行日志

()

Source from the content-addressed store, hash-verified

305 * 刷新运行日志
306 */
307async function refreshLogTab(): Promise<void> {
308 showSkeleton('logContent', 5);
309 try {
310 const logs = await getLoggerInfo();
311 hideSkeleton('logContent');
312 renderLogInfo('logContent', logs);
313 } catch (e) {
314 console.error('刷新日志失败:', e);
315 hideSkeleton('logContent');
316 renderLogInfo('logContent', [t('getLogFailed')]);
317 }
318}
319
320/**
321 * 初始化自定义语言下拉组件

Callers

nothing calls this directly

Calls 5

showSkeletonFunction · 0.85
getLoggerInfoFunction · 0.85
hideSkeletonFunction · 0.85
renderLogInfoFunction · 0.85
tFunction · 0.85

Tested by

no test coverage detected