@huohua/huohua-component-log
v0.0.14
Published
huohua component record client log info
Downloads
2
Keywords
Readme
huohua-component-log
火花素材日志上报组件
✨ Features
- 收集运行环境信息
- 上报当前信息到指定服务器
🔧 Installation
yarn add @huohua/huohua-component-log
🎬 Getting started
import { Environment, Log } from '@huohua/huohua-component-log'
// 初始化环境信息,env.hardware有可能获取不到
const env = new Environment()
// 初始化上传日志方法,6秒后上传日志
Log.getInstance(url?: string, time?: number)
📜 API
coming soon