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

@@ -311,6 +311,7 @@ The replayer accepts options as its constructor's second parameter, and it has t
| logConfig | - | configuration of console output playback, refer to the [console recipe](./docs/recipes/console.md) |
| plugins | [] | load plugins to provide extended replay functions. [What is plugins?](./docs/recipes/plugin.md) |
| useVirtualDom | true | whether to use Virtual Dom optimization in the process of skipping to a new point of time |
| logger | console | The logger object used by the replayer to print warnings or errors |
#### Use rrweb-player