27f7cc57创建于 2023年6月9日历史提交
const logs: string[] = []


export const bootLog = (...msgs: any[]) => {
  logs.push(msgs.map(m => typeof m == 'string' ? m : JSON.stringify(m)).join(' '))
}

export const getBootLog = () => {
  return logs.join('\n')
}