enable to customize logger in the replayer (#1111)

This commit is contained in:
Yun Feng
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 12c2671644
commit 306da78607
4 changed files with 25 additions and 28 deletions

View File

@@ -306,6 +306,7 @@ replayer.destroy();
| unpackFn | - | 数据解压缩函数,详见[优化存储策略](./docs/recipes/optimize-storage.zh_CN.md) |
| plugins | [] | 加载插件以获得额外的回放功能. [什么是插件?](./docs/recipes/plugin.zh_CN.md) |
| useVirtualDom | true | 在播放器跳转到一个新的时间点的过程中,是否使用 Virtual Dom 优化 |
| logger | console | 当播放器出现警告或错误时用来打印日志的对象 |
#### 使用 rrweb-player